Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lab8 #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

lab8 #18

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ android:
# The SDK version used to compile your project
# TODO: why is this here explicitly in addition to $ANDROID_TARGET below
- android-23

# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository

# The SDK version used to compile your project
- $ANDROID_TARGET

Expand All @@ -35,7 +35,7 @@ android:
- sys-img-${ANDROID_ABI}-${ANDROID_TARGET}

licenses:
- 'android-sdk-license-.+'
- 'android-sdk-license-.+'

before_install:
# Accept sdk licenses
Expand All @@ -47,15 +47,15 @@ before_install:
- unzip -qq gradle-5.3-bin.zip
- export GRADLE_HOME=$PWD/gradle-5.3
- export PATH=$GRADLE_HOME/bin:$PATH

# Build the project
- gradle -v

# Start the emulator
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &

# The app will now automatically be installed and tested via
# the command `gradle connectedCheck`
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,9 @@ void testCountCities() {

assertEquals(1, cityList.countCities());
}

//@Test
//void testCI(){
// assertNotEquals(1,1);
//}
}