From 5833f33f41e97136135d0c778862cd5b26d3619f Mon Sep 17 00:00:00 2001 From: Alexander Bezzubov Date: Tue, 23 Oct 2018 23:42:17 +0200 Subject: [PATCH] ci: fail fast on release & fix linux-shared build Signed-off-by: Alexander Bezzubov --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fb9ae76..490a7d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,6 +67,8 @@ jobs: - name: 'linux shared lib' stage: release + install: + - go get -v -t ./... script: make linux-shared deploy: provider: release @@ -109,9 +111,9 @@ jobs: before_script: - cd java - make - - curl -o ./shared/linux-x86-64/libenry.so -sL "https://github.com/$TRAVIS_REPO_SLUG/releases/download/$TRAVIS_TAG/libenry.so" + - curl -o ./shared/linux-x86-64/libenry.so -sL "https://github.com/$TRAVIS_REPO_SLUG/releases/download/$TRAVIS_TAG/libenry.so" || travis_terminate 1 - mkdir -p ./shared/darwin - - curl -o ./shared/darwin/libenry.dylib -sL "https://github.com/$TRAVIS_REPO_SLUG/releases/download/$TRAVIS_TAG/libenry.dylib" + - curl -o ./shared/darwin/libenry.dylib -sL "https://github.com/$TRAVIS_REPO_SLUG/releases/download/$TRAVIS_TAG/libenry.dylib" || travis_terminate 1 - openssl aes-256-cbc -K $encrypted_a0e1c69dbbc7_key -iv $encrypted_a0e1c69dbbc7_iv -in key.asc.enc -out key.asc -d - gpg --no-default-keyring --primary-keyring ./project/.gnupg/pubring.gpg --secret-keyring ./project/.gnupg/secring.gpg --keyring ./project/.gnupg/pubring.gpg --fingerprint --import key.asc script: