Skip to content

Commit 29672e5

Browse files
committed
add travis
1 parent 86365a8 commit 29672e5

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: android
2+
android:
3+
components:
4+
# Uncomment the lines below if you want to
5+
# use the latest revision of Android SDK Tools
6+
# - tools
7+
# - platform-tools
8+
9+
# The BuildTools version used by your project
10+
- build-tools-27.0.3
11+
12+
# The SDK version used to compile your project
13+
- android-23
14+
15+
# Additional components
16+
#- extra-google-google_play_services
17+
- extra-google-m2repository
18+
- extra-android-m2repository
19+
#- addon-google_apis-google-26
20+
21+
# Specify at least one system image,
22+
# if you need to run emulator(s) during your tests
23+
- sys-img-armeabi-v7a-android-26
24+
#- sys-img-armeabi-v7a-android-17

visionSamples/FaceTracker/app/src/androidTest/java/com/google/android/gms/samples/vision/face/facetracker/ExampleInstrumentedTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
public class ExampleInstrumentedTest {
1414
@Test
1515
public void useAppContext() throws Exception {
16-
// Context of the app under test.
1716
Context appContext = InstrumentationRegistry.getTargetContext();
18-
19-
assertEquals("ch.hepia.iti.opencvnativeandroidstudio", appContext.getPackageName());
17+
assertEquals("com.google.android.gms.samples.vision.face.facetracker", appContext.getPackageName());
2018
}
2119
}

0 commit comments

Comments
 (0)