-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
109 lines (103 loc) · 2.72 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
language: python
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log # erase log
cache:
directories:
- $HOME/.npm
- $HOME/.cache/pip
install:
- if [ "$TASK" = "nosetests" -o "$TASK" = "flake8" -o "$TASK" = "flake8-wip" ]; then pip install json-spec; fi
- if [ "$TASK" = "karma" -o "$TASK" = "lint" -o "$TASK" = "closure-compiler" ]; then npm install -g grunt-cli; fi
- if [ "$TASK" = "karma" -o "$TASK" = "lint" -o "$TASK" = "closure-compiler" ]; then npm install; fi
- if [ "$TASK" = "flake8" -o "$TASK" = "flake8-wip" ]; then pip install flake8; fi
# If this causes SSL errors, then Sourceforge is probably in disaster recovery mode and needing Javascript. Could switch to a specific mirror, e.g. kent.dl.sourceforge.net
- if [ "$TASK" = "pychecker" -o "$TASK" = "pychecker-wip" ]; then pip install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download; fi
- if [ "$TASK" = "codespell" ]; then pip install git+https://github.com/codespell-project/codespell.git; fi
matrix:
fast_finish: true
include:
- os: linux
arch: arm64
python: "2.7"
env: TASK="nosetests"
- os: linux
dist: focal
arch: arm64
env: TASK="karma"
services:
- xvfb
- os: linux
dist: focal
arch: arm64
env: TASK="lint"
- os: linux
dist: focal
arch: arm64
env: TASK="closure-compiler"
- os: linux
arch: arm64
env: TASK="data-check"
addons:
apt:
packages:
- libhtml-parser-perl
- os: linux
dist: focal
arch: arm64
env: TASK='spellintian'
addons:
apt:
packages:
- lintian
- moreutils
- os: linux
dist: focal
arch: arm64
env: TASK='codespell'
addons:
apt:
packages:
- moreutils
- os: linux
dist: trusty
arch: arm64
python: "2.7"
env: TASK='flake8'
- os: linux
dist: trusty
arch: arm64
python: "2.7"
env: TASK='flake8-wip'
- os: linux
dist: trusty
arch: arm64
python: "2.7"
env: TASK='pychecker'
- os: linux
dist: trusty
arch: arm64
python: "2.7"
env: TASK='pychecker-wip'
allow_failures:
- os: linux
dist: trusty
arch: arm64
python: "2.7"
env: TASK='flake8-wip'
- os: linux
dist: trusty
arch: arm64
python: "2.7"
env: TASK='pychecker'
- os: linux
dist: trusty
arch: arm64
python: "2.7"
env: TASK='pychecker-wip'
script: "bash -ex .travis-ci.sh"
notifications:
irc:
channels:
- "chat.freenode.net#openlighting"
on_success: change
on_failure: change