-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
47 lines (38 loc) · 897 Bytes
/
.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
# TODO: clang builds
language: python
sudo: required
dist: xenial
python:
- 3.6
- 3.7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- gcc-6
before_install:
- uname -a
- free -m
- df -h
- ulimit -a
# Force use of modern pip and setuptools
- pip install --upgrade pip
- pip install --upgrade setuptools
- pip install -r requirements.txt --verbose
- python -V
- python -c "import platform; print(platform.python_compiler())"
install:
- gcc-6 --version
- gcc --version
# The TravisCI "Trusty" environments do not have a default $CC set
- export CC="gcc-6" CXX="g++-6"
# And pip does not respect $CC
- python setup.py install
script:
- mkdir empty
- cd empty
- python -c "import sys; import pyfastnoisesimd; sys.exit(0 if pyfastnoisesimd.test().wasSuccessful() else 1)"
notifications:
email: false