-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
39 lines (31 loc) · 1.14 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
language: php
php:
- 5.6
env:
- EXTJS_VERSION_WITHOUT_COMMENTS=5.0.0
- EXTJS_VERSION=4.2.1
- EXTJS_VERSION=4.2.0
- EXTJS_VERSION_LEGACY=4.1.1a
- EXTJS_VERSION_LEGACY=4.1.0
- EXTJS_VERSION_LEGACY=4.0.7
matrix:
fast_finish: true
branches:
only:
- master
before_script:
# prepare the jasmine tests
- cd tests/lib
- if [ $EXTJS_VERSION_WITHOUT_COMMENTS ]; then wget http://cdn.sencha.io/ext/gpl/$EXTJS_VERSION_WITHOUT_COMMENTS/build/ext-all-debug.js -O ext-all-debug-w-comments.js ; fi
- if [ $EXTJS_VERSION ]; then wget http://cdn.sencha.io/ext/gpl/$EXTJS_VERSION/ext-all-debug-w-comments.js ; fi
- if [ $EXTJS_VERSION_LEGACY ]; then wget http://cdn.sencha.io/ext-$EXTJS_VERSION_LEGACY-gpl/ext-all-debug-w-comments.js ; fi
- cd ../../
# get pahntomjs for jasmine
- wget https://raw.github.com/mark-rushakoff/OpenPhantomScripts/master/phantom-jasmine.js
script:
# execute the jasmine tests for Ext JS
- if [[ $EXTJS_VERSION || $EXTJS_VERSION_LEGACY || $EXTJS_VERSION_WITHOUT_COMMENTS ]]; then phantomjs phantom-jasmine.js tests/SpecRunner.html ; fi
notifications:
email:
recipients: