diff --git a/.travis.yml b/.travis.yml index b77bb4622..52b82c204 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,17 +10,8 @@ matrix: env: OS_NAME=Darwin osx_image: xcode9.2 -before_install: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt-get update && sudo apt-get install -y g++-7; fi - - git submodule update --init --recursive - script: - - export VERSION=`echo "$(git tag -l --points-at HEAD)"` - - mkdir build && cd build - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake -DMM_VERSION="$VERSION" -DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 ..; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake -DMM_VERSION="$VERSION" ..; fi - - cmake --build . --target marketmaker-mainnet - - cmake --build . --target marketmaker-testnet + - nproc --all cache: apt: true