ci: fix .travis.yml syntax for conditional deployments

Was scilently missing `on:` section :(

https://docs.travis-ci.com/user/deployment/#conditional-releases-with-on

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
Alexander Bezzubov
2018-10-24 14:57:53 +02:00
parent 6f6555328e
commit 51c418039d

View File

@ -68,6 +68,7 @@ jobs:
file_glob: true file_glob: true
file: build/*.tar.gz file: build/*.tar.gz
skip_cleanup: true skip_cleanup: true
on:
tags: true tags: true
- name: 'linux shared lib' - name: 'linux shared lib'
@ -82,6 +83,7 @@ jobs:
file: file:
- ./.shared/linux-x86-64/libenry.so - ./.shared/linux-x86-64/libenry.so
skip_cleanup: true skip_cleanup: true
on:
tags: true tags: true
- name: 'macOS shared lib' - name: 'macOS shared lib'
@ -105,6 +107,7 @@ jobs:
secure: $GITHUB_TOKEN secure: $GITHUB_TOKEN
file: ./.shared/darwin/libenry.dylib file: ./.shared/darwin/libenry.dylib
skip_cleanup: true skip_cleanup: true
on:
tags: true tags: true
- name: 'java: publish to maven' - name: 'java: publish to maven'
@ -140,4 +143,5 @@ jobs:
file_glob: true file_glob: true
file: ./target/enry-java*.jar file: ./target/enry-java*.jar
skip_cleanup: true skip_cleanup: true
on:
tags: true tags: true