-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
34 lines (26 loc) · 914 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
language: c
os:
- linux
sudo: false
env:
global:
- PIP_DEPENDENCIES='pytest-cov coveralls'
- CONDA_CHANNELS='astrofrog'
- PYTHON_VERSION=2.7
- TEST_FILES='test_qt_helpers.py'
matrix:
- CONDA_DEPENDENCIES='mock pytest pip coverage pyyaml requests pyside'
- CONDA_DEPENDENCIES='mock pytest pip coverage pyyaml requests pyqt'
- CONDA_DEPENDENCIES='mock pytest pip coverage pyyaml requests pyqt5'
- CONDA_DEPENDENCIES='mock pytest pip coverage pyyaml requests pyqt pyside' TEST_FILES='test_qt_helpers.py test_switch.py'
before_install:
# Install ci-helpers and set up conda
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
# Setup system for headless GUI handling
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- py.test --cov qt_helpers.py $TEST_FILES
after_success:
- coveralls