mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Run the CI test in the before_install phase
This is unorthodox, but Travis will stop right after most errors instead of spending forever installing the Android NDK
This commit is contained in:
parent
56bd9dcd04
commit
515968e414
1 changed files with 199 additions and 199 deletions
12
.travis.yml
12
.travis.yml
|
@ -11,12 +11,7 @@ addons:
|
|||
update: true
|
||||
|
||||
script:
|
||||
- gimme --list
|
||||
- echo $TRAVIS_GO_VERSION
|
||||
|
||||
- cd .ci
|
||||
- ./ci-test.sh || travis_terminate 1
|
||||
- cd ../dnscrypt-proxy
|
||||
- cd dnscrypt-proxy
|
||||
|
||||
- go clean
|
||||
- env GOOS=windows GOARCH=386 go build -mod vendor -ldflags="-s -w"
|
||||
|
@ -237,6 +232,11 @@ before_deploy:
|
|||
- echo | /tmp/bin/minisign -s /tmp/minisign.key -Sm dnscrypt-proxy-*.tar.gz dnscrypt-proxy-*.zip
|
||||
|
||||
before_install:
|
||||
- gimme --list
|
||||
- echo $TRAVIS_GO_VERSION
|
||||
- cd .ci
|
||||
- ./ci-test.sh || travis_terminate 1
|
||||
- cd -
|
||||
- NDK_VER=r18
|
||||
- curl -LO https://dl.google.com/android/repository/android-ndk-${NDK_VER}-linux-x86_64.zip
|
||||
- unzip -q android-ndk-${NDK_VER}-linux-x86_64.zip -d $HOME
|
||||
|
|
Loading…
Add table
Reference in a new issue