Skip to content

Commit

Permalink
Fixing Travis CI yaml parsing errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Apr 26, 2018
1 parent 53b7c83 commit ecc909a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
os:
- linux
addons: # solution to missing <codecvt>: upgrade from g++ 4.8 to 6

# solution to missing codecvt: upgrade from g++ 4.8 to 6 and unlink
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"

+script:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
script:
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-6 /usr/bin/gcc
- sudo unlink /usr/bin/g++ && sudo ln -s /usr/bin/g++-6 /usr/bin/g++
- echo "Upgraded g++"
Expand Down

0 comments on commit ecc909a

Please sign in to comment.