Skip to content

Commit

Permalink
[travis] refs skycoin#7 Define CC and CXX to env global
Browse files Browse the repository at this point in the history
  • Loading branch information
Maykel Arias Torres committed Apr 27, 2019
1 parent 368020e commit 1780f8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-get update -qq; fi
- VERSION=1.10.2 ./ci-scripts/install-golangci-lint.sh
- ./ci-scripts/install-travis-gcc.sh
- eval "CC=gcc-6 && CXX=g++-6"

env:
global:
- BUILD_DIR: build
- BUILDLIB_DIR: $BUILD_DIR/libskycoin
- LIB_DIR: lib
- CGO_ENABLED: 1
- CC: gcc-6
- CXX: g++-6

install:
# Install gox
Expand All @@ -37,7 +38,7 @@ install:
script:
- make lint
# libskycoin tests
- CC=gcc-6 make test-libc
- make test-libc

notifications:
email: false
Expand Down

0 comments on commit 1780f8a

Please sign in to comment.