Browse Source

Install g++-7 on before_install. Cache apt on travis build.

pass-iguana-arg
Artem Pikulin 7 years ago
parent
commit
02d674a47d
  1. 8
      .travis.yml

8
.travis.yml

@ -4,12 +4,6 @@ matrix:
include: include:
- os: linux - os: linux
compiler: gcc compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env: OS_NAME=Linux MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" env: OS_NAME=Linux MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- os: osx - os: osx
compiler: clang compiler: clang
@ -17,6 +11,7 @@ matrix:
osx_image: xcode9.2 osx_image: xcode9.2
before_install: before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test && sudo apt-get update && sudo apt-get install -y g++-7
- git submodule update --init --recursive - git submodule update --init --recursive
script: script:
@ -28,6 +23,7 @@ script:
- cmake --build . --target marketmaker-testnet - cmake --build . --target marketmaker-testnet
cache: cache:
apt: true
directories: directories:
- $HOME/.hunter - $HOME/.hunter

Loading…
Cancel
Save