forked from ksksue/PhysicaloidLibrary
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
32 lines (24 loc) · 892 Bytes
/
.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
language: android
#install: ant deps
android:
components:
# The BuildTools version used by the Physicaloid project
- build-tools-18.0.1
# The SDK version used to compile the Physicaloid project
- android-18
# List of the specified system images,
# to run emulator(s) during the tests
#- sys-img-armeabi-v7a-android-18
#- sys-img-armeabi-v7a-android-26
before_install:
- wget --no-check-certificate https://www.apache.org/dist/ant/binaries/apache-ant-1.9.13-bin.tar.gz
- tar -xzvf apache-ant-1.9.13-bin.tar.gz
- export PATH=`pwd`/apache-ant-1.9.13/bin:$PATH
- echo $(ant -version)
script:
- cd ./SampleProjects/PhysicaloidTest
- ant -v debug
after_success:
- cp bin/PhysicaloidTest-debug.apk ./result.apk
- link=$(curl -F "file=@result.apk" https://file.io?expires=1m | jq --raw-output '.link')
- echo "Uploaded the result to $link"