forked from brython-dev/brython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (30 loc) · 992 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
os: linux
dist: focal
language: node_js
node_js: node
jobs:
include:
- addons:
chrome: "stable"
firefox: "latest"
apt:
packages:
- libnss3
services:
- xvfb
before_install:
- mkdir qunit
- wget -O qunit/qunit-1.18.0.css http://code.jquery.com/qunit/qunit-1.18.0.css
- wget -O qunit/qunit-1.18.0.js http://code.jquery.com/qunit/qunit-1.18.0.js
- npm install testem
- ./node_modules/.bin/testem launchers
script:
- ./node_modules/.bin/testem --launch "Firefox,Headless Chrome" -t www/tests/qunit/run_tests.html ci
- language: python
python: 3.8
before_install: pip install --upgrade pip
before_script: pip install flake8
script:
- EXCLUDE=./.*,www/src/Lib/test/badsyntax_3131.py
# stop the build if there are Python syntax errors
- flake8 . --exclude=$EXCLUDE --exit-zero --select=E999 --show-source --statistics