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. 12
      .travis.yml

12
.travis.yml

@ -4,12 +4,6 @@ matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env: OS_NAME=Linux MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- os: osx
compiler: clang
@ -17,6 +11,7 @@ matrix:
osx_image: xcode9.2
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
script:
@ -28,8 +23,9 @@ script:
- cmake --build . --target marketmaker-testnet
cache:
directories:
- $HOME/.hunter
apt: true
directories:
- $HOME/.hunter
before_deploy:
- export TAG=`echo "$(git rev-parse --short HEAD)"`

Loading…
Cancel
Save