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.
This commit is contained in:
Robert Quattlebaum
2016-06-15 16:13:35 -07:00
committed by Jonathan Hui
parent 31b317d133
commit c0d2161550
+6 -3
View File
@@ -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