cache dependencies on travis ci

This commit is contained in:
Dennis Luxen 2013-12-06 10:14:42 +01:00
parent dc9db06cc8
commit b2512915ae

View File

@ -12,11 +12,14 @@ before_script:
- mkdir build - mkdir build
- cd build - cd build
- cmake .. $CMAKEOPTIONS - cmake .. $CMAKEOPTIONS
script: make script: make -j3
branches: branches:
only: only:
- master - master
- develop - develop
cache:
- bundler
- apt
env: env:
- CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Release" - CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Release"
- CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Debug" - CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Debug"