Skip to content

Commit 3c7b72a

Browse files
committed
chore(travis): conform to new build commands
1 parent 831480e commit 3c7b72a

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

.travis.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,6 @@ env:
1010

1111
matrix:
1212
include:
13-
# - stage: "Static Binding Generator Parser Tests"
14-
# language: node_js
15-
# node_js: "6"
16-
# git:
17-
# submodules: false
18-
# script:
19-
# - cd android-static-binding-generator
20-
# - npm install && node run-tests
21-
# - cd ..
22-
# - stage: "Static Binding Generator Class Generator Tests"
23-
# language: android
24-
# jdk: oraclejdk8
25-
# git:
26-
# submodules: false
27-
# script:
28-
# - "android-static-binding-generator/project/staticbindinggenerator/gradlew test --project-dir android-static-binding-generator/project/staticbindinggenerator/"
2913
- stage: "Build and Tests"
3014
sudo: true
3115
language: android
@@ -41,15 +25,13 @@ matrix:
4125
submodules: false
4226
script:
4327
# (master branch) build the runtime twice - optimized, and regular packages, skip on PRs
44-
# test-app/gradlew runtest will take care of building the runtime for its testing needs
28+
# test-app/gradlew runtests will take care of building the runtime for its testing needs
4529
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./gradlew -PpreReleaseVersion=$PACKAGE_VERSION -PgitCommitVersion=$TRAVIS_COMMIT --stacktrace; fi'
4630
- echo no | android create avd --force -n $EMULATOR_NAME-$EMULATOR_API_LEVEL -t android-$EMULATOR_API_LEVEL --abi $ANDROID_ABI -c 12M
4731
- emulator -avd $EMULATOR_NAME-$EMULATOR_API_LEVEL -no-skin -no-audio -no-window &
4832
- android-wait-for-emulator
49-
- cd test-app
5033
- "./gradlew runtest --stacktrace"
5134
- adb -e logcat -d 300
52-
- cd ..
5335
before_install:
5436
- echo "y" | sdkmanager "cmake;3.6.4111459"
5537
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,4 +309,5 @@ task runTests (type: Exec) {
309309
}
310310
}
311311

312+
runSbgTests.dependsOn(generateMdgJar)
312313
runTests.dependsOn(runSbgTests)

0 commit comments

Comments
 (0)