-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (54 loc) · 1.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: cpp
sudo: required
matrix:
include:
- os: linux
sudo: required
dist: bionic
compiler: gcc
env:
- GCC_VERSION=5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- libgmp-dev
- libgmpxx4ldbl
- texlive-full
- os: linux
sudo: required
dist: bionic
compiler: gcc
env:
- GCC_VERSION=6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- libgmp-dev
- libgmpxx4ldbl
- os: osx
compiler: clang
before_install:
- brew update
- brew uninstall automake && brew install automake
- brew install autoconf libtool
install:
- export CXX=${CXX}${GCC_VERSION:+-${GCC_VERSION}}
- export CC=${CC}${GCC_VERSION:+-${GCC_VERSION}}
script:
- echo $CC
- echo $CXX
- ls -l /usr/bin/gcc
- ls -l /usr/bin/g++
- gcc --version
- g++ --version
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/$CCX 90
- ls -l /usr/bin/gcc
- ls -l /usr/bin/g++
- gcc --version
- g++ --version