-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
77 lines (72 loc) · 2.74 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
sudo: required
notifications:
email:
on_success: never
on_failure: never
matrix:
include:
# Tests on osx are working but are slow. Uncomment to run them.
# - language: generic
# os: osx
# before_install: # command to install dependencies
# - brew update
# # python 2.7.12
# - virtualenv env -p python
#
# - language: generic
# os: osx
# before_install: # command to install dependencies
# - brew update
# # python 3.4.3_2
# - brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/6051bbe8a67698f3b7e1aad48466c67f77ec04a1/Formula/python3.rb
# - virtualenv env -p python3
#
# - language: generic
# os: osx
# before_install: # command to install dependencies
# - brew update
# # python 3.5.2_3
# - brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/ec545d45d4512ace3570782283df4ecda6bb0044/Formula/python3.rb
# - virtualenv env -p python3
#
# - language: generic
# os: osx
# before_install: # command to install dependencies
# - brew update
# # python 3.6.1
# - brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/0c07502e530bae1ca8811a3a27ab0583fbb396b0/Formula/python3.rb
# - virtualenv env -p python3
- langage: python
python: 2.7
os: linux
dist: trusty
- langage: python
python: 3.4
os: linux
dist: trusty
- langage: python
python: 3.5
os: linux
dist: trusty
- langage: python
python: 3.6
os: linux
dist: trusty
install: # command to install dependencies
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source env/bin/activate; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mpfr; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libmpc; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ppl; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install python-nose; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libgmp-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libmpfr-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libmpc-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libppl-dev; fi
- pip install --user 'Cython==0.26';
- pip install --user git+https://github.com/aleaxit/[email protected] --no-index --verbose;
- pip install --user cysignals;
- pip install --user git+https://github.com/jesusjda/pplpy --no-index --verbose
- pip install --user z3-solver
- pip install . --user --verbose --no-index;
script: nosetests -v