Add basic smoke test on travis

This commit is contained in:
Arturo Filastò 2019-05-15 14:55:47 +02:00
parent 72e5c99b51
commit ea5feb40ec
2 changed files with 7 additions and 0 deletions

View File

@ -10,3 +10,4 @@ matrix:
osx_image: xcode10.2
script:
- ./build.sh _travis-${TRAVIS_OS_NAME}
- ./scripts/travis_test.sh

6
scripts/travis_test.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
set -ex
./dist/${TRAVIS_OS_NAME}/amd64/ooni onboard --yes
./dist/${TRAVIS_OS_NAME}/amd64/ooni run --no-collector