summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-06 21:21:56 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-06 21:21:56 +0100
commit597cca27bccc8b2d92b345ea411a1910d69dec3f (patch)
tree533d3452c00420257e40e62b623bed7717fe36be /.travis.yml
parentf2b61846d10388ec658c58f47b24b14e5b9489fc (diff)
downloadfork-ledger-597cca27bccc8b2d92b345ea411a1910d69dec3f.tar.gz
fork-ledger-597cca27bccc8b2d92b345ea411a1910d69dec3f.tar.bz2
fork-ledger-597cca27bccc8b2d92b345ea411a1910d69dec3f.zip
[travis] Re-enable clang builds
Switch to single job builds
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 59501f68..50f2f00b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,9 @@ compiler:
- clang
- gcc
+env:
+ - JOBS=1
+
before_install:
# Add software package repositories with recent versions of gcc and boost
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test --yes
@@ -18,13 +21,12 @@ 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++" ]; sudo apt-get install -qq g++-4.8 gcc-4.8; fi
+ - if [ "$CXX" == "g++" ]; 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
script: