Skip to content

Commit a7972b1

Browse files
committed
Update .travis.yml
1 parent 28c841f commit a7972b1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22

33
node:
44
#Make quiet to reduce logs (Travis will kill if 4MB log exceeded)
5-
#But not too quiet - we break apart the build (Travis will kill after 10 mins of no output)
5+
#But not too quiet - see travis_exec_and_print_time.sh (Travis will kill after 10 mins of no output)
66
#we also need to keep it under 75 mins
77
script:
8+
#Check if we have access to our Nexus login details.
89
- sh -c "if $TRAVIS_SECURE_ENV_VARS; then echo Travis SECURE available -- Deploy; else echo Travis SECURE NOT available -- Verify; fi"
910

10-
#Test only - TODO remove
11-
- sh -c "if $TRAVIS_SECURE_ENV_VARS; then ./travis_exec_and_print_time.sh 'sleep 5'; else ./travis_exec_and_print_time.sh 'sleep 5'; fi"
12-
11+
#Execute the maven commands depending on SECURE availabilty and print the elapsed time out periodically.
1312
#mvn deploy (or verify) -Pall,juno,kepler,luna --quiet --settings settings.xml
14-
1513
- sh -c "if $TRAVIS_SECURE_ENV_VARS; then ./travis_exec_and_print_time.sh 'mvn deploy -Pall,juno,kepler,luna --quiet --settings settings.xml'; else ./travis_exec_and_print_time.sh 'mvn verify -Pall,juno,kepler,luna --quiet --settings settings.xml'; fi"
1614

1715

0 commit comments

Comments
 (0)