-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
55 lines (54 loc) · 1.26 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
language: python
matrix:
include:
- os: linux
dist: xenial
services:
- xvfb
sudo: false
python: '3.6'
- os: linux
dist: xenial
services:
- xvfb
sudo: false
python: 3.7
cache:
apt: true
pip: true
ccache: true
directories:
- $TRAVIS_BUILD_DIR/pyqt
before_install:
- if [[ "$TRAVIS_PYTHON_VERSION" != "3.4" && "$TRAVIS_PYTHON_VERSION" != "3.5" ]];
then pip install pyqt5; else source $TRAVIS_BUILD_DIR/.travis/build_pyqt5.sh; fi
- pip install matplotlib
# - pip install sphinx
# - pip install numpydoc
# - pip install sphinx_rtd_theme
install:
- cd $TRAVIS_BUILD_DIR
# - if [[ "$TRAVIS_PYTHON_VERSION" != "3.4" && "$TRAVIS_PYTHON_VERSION" != "3.5" ]];
# then python setup.py egg_info;
# python setup.py dist_info;
# python setup.py build_sphinx;
# python setup.py sdist;
# fi
- if [[ "$TRAVIS_PYTHON_VERSION" != "3.4" && "$TRAVIS_PYTHON_VERSION" != "3.5" ]];
then python setup.py egg_info;
python setup.py dist_info;
python setup.py sdist;
fi
- python setup.py install
- pwd
- ls
- cd sciplot
# - python setup.py sdist
# - cd $TRAVIS_BUILD_DIR/docs/
# - sphinx-apidoc -o ./source ../sciplot
# - make html
# - pip uninstall -y sciplot-pyqt
# - cd $TRAVIS_BUILD_DIR
# - python setup.py install
script:
- pytest