forked from spyder-ide/spyder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (25 loc) · 1 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
# https://travis-ci.org/spyder-ide/spyder
language: generic
dist: xenial
services:
- xvfb
matrix:
fast_finish: true
include:
- env: PYTHON_VERSION=3.7 USE_CONDA=no RUN_SLOW=true
- env: PYTHON_VERSION=3.7 USE_CONDA=no RUN_SLOW=false
before_install:
# Avoid inotify errors when running projects test with Kite installed
- sudo sysctl -n -w fs.inotify.max_user_watches=16384
# 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