diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 59501f68..9c6a1910 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,17 +18,16 @@ before_install: install: # Install GNU GCC 4.8 required by use of C++11 - - sudo apt-get install -qq g++-4.8 gcc-4.8 - - export CXX="g++-4.8" CC="gcc-4.8" + - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8 gcc-4.8; fi + - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi # Install Ledger dependencies - sudo apt-get install -qq libboost1.55 libgmp-dev libmpfr-dev libeditline-dev before_script: - - export JOBS=2 - - ./acprep opt make --jobs $JOBS --python + - ./acprep opt make --python script: - - ./acprep check --jobs $JOBS -- --output-on-failure + - ./acprep check --jobs $(nproc) -- --output-on-failure - PYTHONPATH=. python python/demo.py notifications: |