Skip to content

Commit fa747bf

Browse files
author
Blaž Hrastnik
committed
travis: When running gcc, use gcc 4.8.
1 parent daaa27d commit fa747bf

1 file changed

Lines changed: 29 additions & 4 deletions

File tree

.travis.yml

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ language: cpp
22
sudo: false
33
addons:
44
apt:
5-
sources:
5+
sources: &sources
66
- george-edison55-precise-backports
7-
packages:
7+
- ubuntu-toolchain-r-test
8+
packages: &deps
89
- cmake
910
- cmake-data
1011
- freeglut3-dev
@@ -23,13 +24,37 @@ matrix:
2324
include:
2425
- os: linux
2526
compiler: gcc
26-
env: MOON_MRUBY_TOOLCHAIN=gcc
27-
27+
env:
28+
- MOON_MRUBY_TOOLCHAIN=gcc
29+
- COMPILER=g++-4.9
30+
before_install:
31+
- export CC="gcc-4.9"
32+
- export CXX="g++-4.9"
33+
addons:
34+
apt:
35+
sources:
36+
- *sources
37+
packages:
38+
- *deps
39+
- gcc-4.9
40+
- g++-4.9
2841
- os: linux
2942
compiler: clang
3043
env:
3144
- MOON_MRUBY_TOOLCHAIN=clang
45+
- COMPILER=clang++-3.7
3246
- LD_LIBRARY_PATH: "${TRAVIS_BUILD_DIR}/build/vendor/glfw/src"
47+
before_install:
48+
- export CC="clang-3.7"
49+
- export CXX="clang++-3.7"
50+
addons:
51+
apt:
52+
sources:
53+
- *sources
54+
- llvm-toolchain-precise-3.7
55+
packages:
56+
- *deps
57+
- clang-3.7
3358

3459
- os: osx
3560
compiler: clang

0 commit comments

Comments
 (0)