File tree Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,10 @@ compiler:
14
14
- gcc
15
15
16
16
before_install :
17
- # We need this line to have g++4.8 available in apt
18
- - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
19
- - sudo apt-get update -qq
17
+ - tools/travis_before_install.sh
20
18
21
19
install :
22
- - sudo apt-get install -qq gcc-4.8 g++-4.8
23
- # We want to compile with g++ 4.8 when rather than the default g++
24
- - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
20
+ - tool/travis_install.sh
25
21
- tools/make_deps.sh
26
22
27
23
script :
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ if [[ $( uname -s) = " Darwin" ]]; then
4
+ fi
5
+
6
+ if [[ $( uname -s) = " Linux" ]]; then
7
+ # We need this to have g++4.8 available in apt
8
+ sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
9
+ sudo apt-get update -qq
10
+ fi
11
+
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ if [[ $( uname -s) = " Darwin" ]]; then
4
+ fi
5
+
6
+ if [[ $( uname -s) = " Linux" ]]; then
7
+ sudo apt-get install -qq gcc-4.8 g++-4.8
8
+ # We want to compile with g++ 4.8 when rather than the default g++
9
+ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
10
+ fi
11
+
You can’t perform that action at this time.
0 commit comments