-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 742 Bytes
/
Copy path.travis.yml
File metadata and controls
25 lines (25 loc) · 742 Bytes
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
language: node_js
python:
- 2.7
node_js:
- 11.0
install:
- pip install --user -r requirements.txt
- npm install -g jshint@">=2.9.1-rc2" addons-linter@1.6.2
before_script:
- wget -P /tmp/avim -N https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/jsshell-linux-x86_64.zip
- unzip -d /tmp/js /tmp/avim/jsshell-linux-x86_64.zip
- export PATH=$PATH:/tmp/js
- git clone https://github.com/1ec5/hunspell-vi.git /tmp/hunspell-vi
script:
- jshint .
- python build.py -m
- addons-linter *.xpi
- cd tests/
- js -b test.js
- js -b corpus.js /tmp/hunspell-vi/dictionaries/vi-DauCu.dic -w /tmp/hunspell-vi/tools/irregulars.txt
sudo: false
cache:
directories:
- $HOME/.cache/pip
- /tmp/avim