summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorValeriy Kopylov <valery.kopylov@akvelon.com>2014-10-16 12:43:02 +0400
committerValeriy Kopylov <valery.kopylov@akvelon.com>2014-10-16 12:43:02 +0400
commitf948ab5266bcdc5fd98d9536499fdd9798ca45ac (patch)
tree896d0d78151c3f183816b8155d4f4aaca90c52ea /.travis.yml
parentdaa2e0452d9137376e40f9b823fd35d386ee745e (diff)
downloadRxCpp-f948ab5266bcdc5fd98d9536499fdd9798ca45ac.tar.gz
Travis compiling is repaired:
1. Use GCC 4.8.1. Note: - 4.8.2 causes run time error. 2. Use Clang 3.5 + GCC 4.8.1 libraries. Notes: - Libs from 4.8.2 cause run time error; - Clang 3.6 is incompatible with 4.8.2 libs; - Travis used Clang 3.4 earlier: the old script did not work, it was just installing clang 3.6 and not selecting it. 3. Reduce number of compiling threads to 2 - Travis VMs sometimes go out of memory on 4 threads.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index bc9a026..cb701d0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,10 +21,11 @@ before_install:
- sh projects/scripts/travis-install.sh
install:
+ - export PATH=/usr/bin:$PATH
- cd projects
- cmake -GUnix\ Makefiles -HCMake -Bbuild -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX
- cd build
- - make -j4
+ - make -j2
- cd ../..
script: