-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.travis.yml
40 lines (36 loc) · 1.25 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
dist: bionic
language: android
jdk:
- openjdk12
android:
components:
- tools # to get the new `repository-11.xml`
- tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
- platform-tools
- build-tools-24.0.2
- android-24
- android-23
cache:
directories:
- $HOME/.m2
env:
global:
- "MAVEN_OPTS=-Xmx3072m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:-UseGCOverheadLimit"
- "TRAVIS_NODE_VERSION=6"
before_install:
- echo "MAVEN_OPTS='-Xmx3072m -XX:MaxPermSize=512m'" > ~/.mavenrc
- "sudo wget https://apt.llvm.org/llvm.sh"
- "sudo chmod +x llvm.sh"
- "sudo ./llvm.sh 10"
- "sudo apt-get install -y ocl-icd-opencl-dev clang-10 lldb-10 lld-10 clangd-10"
- "rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION"
- "npm install"
- "npm install electron-packager -g"
- "npm install cordova -g"
- "npm install bower -g"
- "npm install vulcanize -g"
- "git clone https://github.com/mirkosertic/Bytecoder.git ./bytecoder"
- "cd bytecoder"
- "mvn -pl '!:bytecoder-integrationtest' clean install -P notest"
- "cd .."
- "env"