From c0d2161550553d65c99785601ea24e397ad2f33d Mon Sep 17 00:00:00 2001 From: Robert Quattlebaum Date: Wed, 15 Jun 2016 16:13:35 -0700 Subject: [PATCH] travis: Remove redundant travis tests (#157) * Avoid doing pretty check on both Linux and OSX platforms. * Avoid testing the compilation of `CC2538` on both OS X and Linux. This will help reduce the time it takes for a travis validation. --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 671315d7c..4b5536857 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,6 @@ language: cpp env: - - BUILD_TARGET="pretty-check" - BUILD_TARGET="posix" - BUILD_TARGET="cc2538" @@ -42,11 +41,15 @@ os: - osx matrix: + include: + - env: BUILD_TARGET="pretty-check" + compiler: clang + os: linux exclude: - compiler: clang env: BUILD_TARGET="cc2538" - - compiler: clang - env: BUILD_TARGET="pretty-check" + - os: osx + env: BUILD_TARGET="cc2538" before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install python-pexpect; fi