-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy path.travis.yml
60 lines (36 loc) · 1.2 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
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "pypy"
# - "pypy3" # pypy3 is running with pypy2 I dunno why,commented so test pass
- "nightly"
os:
- linux
# - osx
before_install: true
install: true
before_script: rm --recursive --force --verbose *.py[cod]
script:
- wget https://code.jquery.com/jquery-git2.js
- chmod +x $TRAVIS_BUILD_DIR/css-html-js-minify.py
- $TRAVIS_BUILD_DIR/css-html-js-minify.py --prefix temp_ --timestamp --hash $TRAVIS_BUILD_DIR/jquery-git2.js
- wget https://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.css
- $TRAVIS_BUILD_DIR/css-html-js-minify.py --prefix temp_ --timestamp --wrap --hash $TRAVIS_BUILD_DIR/bootstrap.css
- pip install --upgrade --no-compile --allow-all-external css-html-js-minify
- $TRAVIS_BUILD_DIR/css-html-js-minify.py --tests true
after_script: true
after_success: true
after_failure: true
notifications:
email:
recipients: [email protected]
on_success: change
on_failure: always
webhooks:
urls: https://webhooks.gitter.im/e/790426b8e479271c1e65
on_success: always
on_failure: always
on_start: always
cache: apt