forked from flintlib/arb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (31 loc) · 678 Bytes
/
.travis.yml
File metadata and controls
36 lines (31 loc) · 678 Bytes
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
language: c
sudo: false
addons:
apt:
packages:
- texinfo
os:
- osx
- linux
osx_image: xcode7
compiler:
- gcc
- clang
script:
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]] && [[ "${CC}" == "gcc" ]]; then
brew update;
brew install gcc;
brew link --overwrite gcc;
export CC=gcc;
export CXX=g++;
gcc --version;
g++ --version;
fi
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
export ARB_TEST_MULTIPLIER=0.1;
fi
- ./.build_dependencies
- ./configure --with-mpir=$HOME/deps --with-mpfr=$HOME/deps --with-flint=$HOME/deps --prefix=$HOME/deps
- make -j4
- make install
- make check