From ea5feb40ec15c04a0e86d2950e58583b34bc2c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Wed, 15 May 2019 14:55:47 +0200 Subject: [PATCH] Add basic smoke test on travis --- .travis.yml | 1 + scripts/travis_test.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100755 scripts/travis_test.sh diff --git a/.travis.yml b/.travis.yml index 3f5e1b0..1fb00a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,3 +10,4 @@ matrix: osx_image: xcode10.2 script: - ./build.sh _travis-${TRAVIS_OS_NAME} +- ./scripts/travis_test.sh diff --git a/scripts/travis_test.sh b/scripts/travis_test.sh new file mode 100755 index 0000000..3e8bcdb --- /dev/null +++ b/scripts/travis_test.sh @@ -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