diff --git a/.travis.yml b/.travis.yml index 41616b410..b138b8b07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,7 +81,7 @@ script: - .travis/script.sh after_failure: - - echo "success" + - .travis/after_failure.sh after_success: - - echo "failure" + - .travis/after_success.sh diff --git a/.travis/common.sh b/.travis/common.sh index fbf5993de..28d3cb3f9 100644 --- a/.travis/common.sh +++ b/.travis/common.sh @@ -29,8 +29,8 @@ function end_section() { # For Mac OS, we use g++ and gcc as default compilers if [[ $TRAVIS_OS_NAME == 'osx' ]]; then - export CC=gcc - export CXX=g++ + export CC=gcc-4.9 + export CXX=g++-4.9 # export PATH="/usr/local/opt/bison/bin:/usr/local/bin:$PATH" # export PATH="/usr/local/opt/qt/bin:$PATH" # Install header files in Mojave, if not gcc-4.9 cannot spot stdio.h diff --git a/.travis/script.sh b/.travis/script.sh index 06503b5e7..f0469d798 100755 --- a/.travis/script.sh +++ b/.travis/script.sh @@ -7,7 +7,7 @@ $SPACER start_section "OpenFPGA.build" "${GREEN}Building..${NC}" if [[ $TRAVIS_OS_NAME == 'osx' ]]; then - make -j2 + make -j1 else # For linux, we enable full package compilation make -j8 @@ -15,5 +15,3 @@ fi end_section "OpenFPGA.build" $SPACER - -