Merge pull request #274 from matthiaskrgr/travis

travis: first build with clang, then with gcc, move the kernel checking job to be the last job.
This commit is contained in:
Daniel Marjamäki 2014-03-24 06:18:32 +01:00
commit 591209ffac
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
language: cpp
compiler:
- gcc
- clang
- gcc
env:
global:
@ -11,10 +11,10 @@ env:
- CXXFLAGS="-O2 -Wunreachable-code"
matrix:
# special CXXFLAGS for maximum speed, overrides global CXXFLAGS, CHECK_KERNEL is the var that controlls if we download and check the kernel in that travis job
- CXXFLAGS="-O3 -march=native -mtune=native" SRCDIR=build CHECK_KERNEL=yes
- MAKEFLAGS="HAVE_RULES=yes" SRCDIR=build VERIFY=1
- SRCDIR=build VERIFY=1
-
- CXXFLAGS="-O3 -march=native -mtune=native" SRCDIR=build CHECK_KERNEL=yes
matrix:
# do notify immediately about it when a job of a build fails.