forked from spyder-ide/spyder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (29 loc) · 1.01 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
# https://travis-ci.org/spyder-ide/spyder
language: generic
dist: xenial
services:
- xvfb
env:
global:
- CI_PYTEST: "true"
matrix:
fast_finish: true
include:
- env: PYTHON_VERSION=2.7 USE_CONDA=yes
- env: PYTHON_VERSION=3.6 USE_CONDA=yes
- env: PYTHON_VERSION=3.7 USE_CONDA=yes
- env: PYTHON_VERSION=3.6 USE_CONDA=no
- env: PYTHON_VERSION=3.7 USE_CONDA=no
before_install:
# Avoid annoying focus problems when running tests
# See discussion in e.g. https://github.com/spyder-ide/spyder/pull/6132
- sudo apt-get -qq update
- sudo apt-get install -y matchbox-window-manager xterm libxkbcommon-x11-0
- matchbox-window-manager&
- sleep 5
install:
- ./continuous_integration/travis/install.sh
script:
- ./continuous_integration/travis/runtests.sh || ./continuous_integration/travis/runtests.sh || ./continuous_integration/travis/runtests.sh || ./continuous_integration/travis/runtests.sh
after_success:
- source $HOME/miniconda/etc/profile.d/conda.sh && conda activate test && coveralls