This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
/
.travis.yml
62 lines (60 loc) · 1.68 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
sudo: required
matrix:
include:
- language: objective-c
os: osx
osx_image: xcode7.1
script:
- grunt nodeunit:common
- language: objective-c
os: osx
osx_image: xcode7.1
script:
- python lint.py -p ios
- language: android
android:
components:
- build-tools-22.0.1
script:
- npm test
- language: android
android:
components:
- build-tools-22.0.1
install:
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb devices
script:
- python lint.py -p android -a 32bit
- language: android
android:
components:
- build-tools-22.0.1
script:
- python lint.py -p android -a 64bit
before_script:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
npm install;
npm install exec-sync;
sudo pip install BeautifulSoup4;
fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
npm cache clean -f;
npm install -g n;
n 4.2.1;
npm uninstall -g grunt;
npm install -g grunt-cli;
npm install;
cd node_modules;
git clone https://github.com/crosswalk-project/crosswalk-app-tools-ios.git crosswalk-app-tools-backend-ios;
cd crosswalk-app-tools-backend-ios;
npm install;
cd ../../;
wget http://www.crummy.com/software/BeautifulSoup/bs4/download/4.4/beautifulsoup4-4.4.1.tar.gz;
tar -xvf beautifulsoup4-4.4.1.tar.gz;
cd beautifulsoup4-4.4.1;
sudo python setup.py install;
cd ../;
fi