Skip to content

Commit 3262944

Browse files
committed
Add travis.yml
1 parent a22eb92 commit 3262944

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
language: c
2+
3+
compiler:
4+
- clang
5+
- gcc
6+
7+
os:
8+
- linux
9+
- osx
10+
11+
osx_image: xcode9
12+
13+
dist: trusty
14+
15+
before_install:
16+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
17+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gmp ; fi
18+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install --with-clang --with-lld --with-python --HEAD llvm ; fi
19+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libgmp-dev libedit-dev ; fi
20+
- export PATH=/usr/local/opt/llvm/bin:$PATH
21+
- git submodule init
22+
- git submodule update
23+
env:
24+
- INT=gmp
25+
- INT=imath
26+
- INT=imath-32
27+
28+
script:
29+
- ./autogen.sh && ./configure --with-int=$INT --with-clang=system && make && make check

0 commit comments

Comments
 (0)