travis: first build with clang, then with gcc, move the kernel checking job to be the last job.

This commit is contained in:
Matthias Krüger 2014-03-23 19:14:31 +01:00
parent c14a3d67bb
commit 33965e9ab9
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
language: cpp language: cpp
compiler: compiler:
- gcc
- clang - clang
- gcc
env: env:
global: global:
@ -11,10 +11,10 @@ env:
- CXXFLAGS="-O2 -Wunreachable-code" - CXXFLAGS="-O2 -Wunreachable-code"
matrix: 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 # 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 - MAKEFLAGS="HAVE_RULES=yes" SRCDIR=build VERIFY=1
- SRCDIR=build VERIFY=1 - SRCDIR=build VERIFY=1
- -
- CXXFLAGS="-O3 -march=native -mtune=native" SRCDIR=build CHECK_KERNEL=yes
matrix: matrix:
# do notify immediately about it when a job of a build fails. # do notify immediately about it when a job of a build fails.