forked from Lauszus/FaceRecognitionApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (33 loc) · 1.12 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
language: android
sudo: required
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
android:
components:
# Use the latest revision of Android SDK Tools
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-25.0.3
# The SDK version used to compile your project
- android-24
# Additional components
- extra-android-m2repository
before_script:
- wget https://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip
- unzip -q android-ndk-r14b-linux-x86_64.zip
- export ANDROID_NDK_HOME=$(pwd)/android-ndk-r14b
- wget https://github.com/opencv/opencv/releases/download/3.2.0/opencv-3.2.0-android-sdk.zip
- unzip -q opencv-3.2.0-android-sdk.zip
- export OPENCV_ANDROID_SDK=$(pwd)/OpenCV-android-sdk
- wget https://bitbucket.org/eigen/eigen/get/3.3.3.zip -O Eigen3.zip
- unzip -q Eigen3.zip
- export EIGEN3_DIR=$(dirname $(find $(pwd) -type f -name 'signature_of_eigen3_matrix_library' -print -quit))
script:
./gradlew build