Skip to content

Commit

Permalink
update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanxw committed Jan 11, 2017
1 parent 58484fb commit 6ce1bc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,14 @@ matrix:
compiler: g++
env:
- COMPILER=g++
# refer: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60670
# for install a gcc on mac with OpenMP support
before_install:
- uname -a
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then free -m; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then vm_stat; fi
- df -h
- ulimit -a
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -q && sudo apt-get install -y -qq gfortran; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install gcc; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install gcc; brew reinstall gcc --without-multilib; fi
script: make CXX=$COMPILER

0 comments on commit 6ce1bc4

Please sign in to comment.