From f1dfe583511ee5c5ff001538a5f6a0e79fa88cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Wed, 15 May 2019 15:09:42 +0200 Subject: [PATCH] Use a different env name for tests --- .travis.yml | 4 ++++ scripts/travis_test.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1fb00a6..1a5d4ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,12 @@ matrix: language: minimal services: - docker + env: + - OS_NAME: linux - os: osx language: minimal + env: + - OS_NAME: macos osx_image: xcode10.2 script: - ./build.sh _travis-${TRAVIS_OS_NAME} diff --git a/scripts/travis_test.sh b/scripts/travis_test.sh index 3e8bcdb..61f583f 100755 --- a/scripts/travis_test.sh +++ b/scripts/travis_test.sh @@ -2,5 +2,5 @@ set -ex -./dist/${TRAVIS_OS_NAME}/amd64/ooni onboard --yes -./dist/${TRAVIS_OS_NAME}/amd64/ooni run --no-collector +./dist/${OS_NAME}/amd64/ooni onboard --yes +./dist/${OS_NAME}/amd64/ooni run --no-collector