File tree Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 33 - oraclejdk8
44sudo : true
55before_install :
6- - echo 'America/Los_Angeles' | sudo tee /etc/timezone
7- - sudo dpkg-reconfigure --frontend noninteractive tzdata
6+ - echo 'America/Los_Angeles' | sudo tee /etc/timezone
7+ - sudo dpkg-reconfigure --frontend noninteractive tzdata
88install :
9- - env
10- - if [ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] ; then ./shared/dev-tasks/travis-install-ml.sh
11- release ; else (exit 0) ; fi
12- - if [ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] ; then ./shared/dev-tasks/setup-marklogic.sh
13- ; else (exit 0) ; fi
9+ - ./shared/dev-tasks/install-dependencies.sh
10+ script :
11+ - ' [ "${TRAVIS_SECURE_ENV_VARS}" = "false" ] && ./gradlew test || ./gradlew jshint'
Original file line number Diff line number Diff line change @@ -41,8 +41,9 @@ dependencies {
4141javascript. source {
4242 dev {
4343 js {
44- srcDir " src/main/resources/static/app "
44+ srcDir " src/main/resources/static"
4545 include " **/*.js"
46+ exclude " lib/**/*"
4647 }
4748 }
4849}
@@ -55,3 +56,6 @@ jshint {
5556 tasks. jshint. reporter = ' checkstyle'
5657 options = [" --config" :" src/main/resources/static/.jshintrc" ]
5758}
59+
60+
61+ test. dependsOn tasks. jshint
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [ " ${TRAVIS_SECURE_ENV_VARS} " = " true" ] ; then
4+ ./shared/dev-tasks/travis-install-ml.sh release
5+ ./shared/dev-tasks/setup-marklogic.sh
6+ fi
You can’t perform that action at this time.
0 commit comments