-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
travis: use various gcc and clang versions + using containers
Using containers is declared to be faster, but does not allow us to use sudo => install into $HOME. Signed-off-by: Petr Vorel <pvorel@suse.cz> Acked-by: Cyril Hrubis <chrubis@suse.cz>
- Loading branch information
Showing
1 changed file
with
69 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,75 @@ | ||
sudo: required | ||
|
||
language: c | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
compiler: gcc-4.6 | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test'] | ||
packages: ['gcc-4.6'] | ||
|
||
- os: linux | ||
compiler: gcc-4.7 | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test'] | ||
packages: ['gcc-4.7'] | ||
|
||
- os: linux | ||
compiler: gcc-4.8 | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test'] | ||
packages: ['gcc-4.8'] | ||
|
||
- os: linux | ||
compiler: gcc-4.9 | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test'] | ||
packages: ['gcc-4.9'] | ||
|
||
- os: linux | ||
compiler: gcc-5 | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test'] | ||
packages: ['gcc-5'] | ||
|
||
- os: linux | ||
compiler: gcc-6 | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test'] | ||
packages: ['gcc-6'] | ||
|
||
- os: linux | ||
compiler: clang-3.5 | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5'] | ||
packages: ['clang-3.5'] | ||
|
||
- os: linux | ||
compiler: clang-3.8 | ||
addons: | ||
apt: | ||
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.8'] | ||
packages: ['clang-3.8'] | ||
|
||
- os: linux | ||
compiler: clang-3.9 | ||
addons: | ||
apt: | ||
sources: | ||
- sourceline: "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main" | ||
key_url: "http://apt.llvm.org/llvm-snapshot.gpg.key" | ||
- 'ubuntu-toolchain-r-test' | ||
packages: ['clang-3.9'] | ||
|
||
notifications: | ||
email: | ||
- ltp@lists.linux.it | ||
|
||
script: make autotools && ./configure --with-open-posix-testsuite --with-realtime-testsuite && make -j$(getconf _NPROCESSORS_ONLN) && make -j$(getconf _NPROCESSORS_ONLN) install | ||
script: make autotools && ./configure --prefix $HOME/ltp --with-open-posix-testsuite --with-realtime-testsuite && make -j$(getconf _NPROCESSORS_ONLN) && make -j$(getconf _NPROCESSORS_ONLN) install |