Skip to content

Commit 577c324

Browse files
committed
Add test for Travis variables secure/not secure
1 parent d7ddde7 commit 577c324

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ node:
55
#But not too quiet - we break apart the build (Travis will kill after 10 mins of no output)
66
#we also need to keep it under 75 mins
77
script:
8-
- mvn deploy -Pall,juno --quiet --settings settings.xml
9-
- mvn deploy -Pall,kepler --quiet --settings settings.xml
10-
- mvn deploy -Pall,luna --quiet --settings settings.xml
8+
#- mvn deploy -Pall,juno --quiet --settings settings.xml
9+
#- mvn deploy -Pall,kepler --quiet --settings settings.xml
10+
#- mvn deploy -Pall,luna --quiet --settings settings.xml
11+
- sh -c "if $TRAVIS_SECURE_ENV_VARS; then echo TRAVIS SECURE AVAILABLE; else echo TRAVIS SECURE NOT AVAIALABLE; fi"
1112

1213
#Several usernames and passwords/tokens are required for deployment.
1314
#When testing on your local/remote setup then you need to set/export env. variables:

0 commit comments

Comments
 (0)