Skip to content

Commit

Permalink
#321 temporarily disabling the maven build from ci until the maven-an…
Browse files Browse the repository at this point in the history
…droid plugin folks get things in order
  • Loading branch information
spyhunter99 committed Jun 4, 2016
1 parent 15180a3 commit 43a33be
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
19 changes: 10 additions & 9 deletions .travis.yml
Expand Up @@ -85,13 +85,14 @@ before_install:
# mvn sdk deploy
before_script:
# android list
- mkdir temp
- cd temp
- git clone https://github.com/simpligility/maven-android-sdk-deployer
- cd maven-android-sdk-deployer
- mvn clean install -fn -B -U
- cd ..
- cd ..
# TEMPORARY comment out of the maven build since it's broken at the moment
#- mkdir temp
#- cd temp
#- git clone https://github.com/simpligility/maven-android-sdk-deployer
#- cd maven-android-sdk-deployer
#- mvn clean install -fn -B -U
#- cd ..
#- cd ..

- android-wait-for-emulator
- adb shell input keyevent 82 &
Expand All @@ -111,8 +112,8 @@ script:
#- mvn install -Pdist
#- mvn android:undeploy
#build using gradle
#- ./gradlew -version
#- ./gradlew clean connectedCheck
- ./gradlew -version
- ./gradlew clean connectedCheck
# fun fact, maven runs android tests concurrently for all connected devices, gradle does not
# since we're using build matrix, each build target compiles the source, fires up it's specific vm, runs the tests, then exits.
# --stacktrace
9 changes: 5 additions & 4 deletions travis.sh
Expand Up @@ -31,10 +31,11 @@ PING_LOOP_PID=$!
# My build is using maven, but you could build anything with this, E.g.
# your_build_command_1 >> $BUILD_OUTPUT 2>&1
# your_build_command_2 >> $BUILD_OUTPUT 2>&1
mvn clean install -fn -B -U -Pdist >> $BUILD_OUTPUT 2>&1
mvn install -fn -B -U -Pdist >> $BUILD_OUTPUT 2>&1
mvn install -Pdist >> $BUILD_OUTPUT 2>&1
mvn android:undeploy >> $BUILD_OUTPUT 2>&1
# mvn clean install -fn -B -U -Pdist >> $BUILD_OUTPUT 2>&1
# mvn install -fn -B -U -Pdist >> $BUILD_OUTPUT 2>&1
# mvn install -Pdist >> $BUILD_OUTPUT 2>&1
# mvn android:undeploy >> $BUILD_OUTPUT 2>&1

#build using gradle
./gradlew -version >> $BUILD_OUTPUT 2>&1
./gradlew clean connectedCheck >> $BUILD_OUTPUT 2>&1
Expand Down

0 comments on commit 43a33be

Please sign in to comment.