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: 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,8 +23,9 @@ script:
- cmake --build . --target marketmaker-testnet - cmake --build . --target marketmaker-testnet
cache: cache:
directories: apt: true
- $HOME/.hunter directories:
- $HOME/.hunter
before_deploy: before_deploy:
- export TAG=`echo "$(git rev-parse --short HEAD)"` - export TAG=`echo "$(git rev-parse --short HEAD)"`

Loading…
Cancel
Save