-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
56 lines (52 loc) · 1.74 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
55
56
language: generic
sudo: false
env:
global:
- INSTALL_EDM_VERSION=1.9.2
PYTHONUNBUFFERED="1"
matrix:
include:
- name: "Minimum requirements in EDS"
env: ENAML='0.9.8' SOURCE='edm' RUNTIME='2.7' # The earliest version on EDS for rh6
- name: "Minimum requirements"
env: ENAML='0.8.9' SOURCE='pypi' RUNTIME='2.7' # The earliest supported
- name: "Latest requirements in EDS"
env: ENAML='latest' SOURCE='edm' RUNTIME='2.7'
- name: "Latest requirements released"
env: ENAML='latest' SOURCE='pypi' RUNTIME='2.7'
- name: "Stable requirements released on python 3.6"
env: ENAML='0.10.2' SOURCE='pypi' RUNTIME='3.6'
- if: type = cron
name: "Cutting edge (unreleased) requirements"
env: ENAML='latest' SOURCE='github' RUNTIME='3.6'
allow_failures:
- env: ENAML='latest' SOURCE='pypi' RUNTIME='3.6'
- env: ENAML='latest' SOURCE='github' RUNTIME='3.6'
addons:
apt:
packages:
- swig
- ccache
cache:
pip: true
directories:
- $HOME/.ccache
- $HOME/.cache/edm
before_install:
- mkdir -p "${HOME}/.cache/download"
- export PATH="/usr/lib/ccache/usr/local/bin:${HOME}/edm/bin:${PATH}"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- ccache -s
install:
- ./install-edm-linux.sh
- edm install -y click coverage
- edm run -- python -m etstool install --enaml=${ENAML} --source=${SOURCE} --toolkit=pyside
- edm run -- python -m etstool install --enaml=${ENAML} --source=${SOURCE} --toolkit=pyqt4 --runtime=${RUNTIME}
script:
- edm run -- python -m etstool test --toolkit=pyside
- edm run -- python -m etstool test --toolkit=pyqt4 --runtime=${RUNTIME}
after_success:
- edm run -- coverage combine
- edm run -- pip install codecov
- edm run -- codecov