File tree 3 files changed +19
-8
lines changed
3 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 5
5
global :
6
6
- secure : " WGObsHmjnqn5e0nbXLGetwpUHU0UgvNk02+f0m3jIS7hSdBy5m1JK2K6NXV13brY0C9i0DLy0e7JKabqmqTxI94dT0LrYBxcvfmtZ/7PujOn/D9CzVimGj6g20hBDYwAXL6KAIR7JL8qexQBwIkVZPdwaA+k+UHLM9XVoIQdFgU="
7
7
- secure : " XfBov3Z4Rk2AvS1v7o31Qr2XrO/oqQvl+Eksx9DO3XbGcLjT9wfGxGcYgP9IJO+Aa5AQo3Xud7EV4gqNpMa2PByzDdgg/nfyqSvrRvsG2aH1zm5N5bAHxCVlPimVdNtyeub6QBPCIGaWBp1R8x3Ak7F79mA5BdJuT9j5FBogC5U="
8
- script : .utility/do-build.sh
8
+
9
+ deploy :
10
+ - provider : script
11
+ script : .utility/build.sh
12
+ on :
13
+ all_branches : true
14
+ - provider : script
15
+ script : .utility/deploy.sh
16
+ on :
17
+ branch : master
9
18
10
19
cache :
11
20
directories :
Original file line number Diff line number Diff line change 4
4
echo ' Travis can only publish docs for release builds.'
5
5
return 0
6
6
fi
7
- if [[ $TRAVIS_PULL_REQUEST == true || " $TRAVIS_BRANCH " != " master" ]]
8
- then
9
- mvn test
10
- else
11
- mvn clean deploy --settings .utility/settings.xml
12
- fi
13
-
7
+ mvn test
14
8
exit $?
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ if [[ " $TRAVIS_REPO_SLUG " != " MilkBowl/Vault" ]]
3
+ then
4
+ echo ' Travis can only publish docs for release builds.'
5
+ return 0
6
+ fi
7
+ mvn clean deploy --settings .utility/settings.xml
8
+ exit $?
You can’t perform that action at this time.
0 commit comments