-
Notifications
You must be signed in to change notification settings - Fork 39
/
.travis.yml
27 lines (27 loc) · 1.27 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
language: python
python:
- "3.6"
install:
# - pip install flake8
# fail the build if there are Python syntax errors or undefined names
# - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,scons,SoPyScript
- sudo apt-get update
- sudo apt install mesa-common-dev
# - sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge
- conda update -q conda
- conda info -a
- conda create -q -n test-environment python=3.8 colorama cmake ninja swig coin3d simage soqt flake8 mesa-libgl-devel-cos6-x86_64
- source activate test-environment
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,scons,SoPyScript
- export PIVY_CPP_FLAGS="-std=c++11 "
- python setup.py install
script:
- cd tests
- python coin_tests.py
# - python pyside_test.py # needs some work (fails)