-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
12 lines (12 loc) · 833 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
language: java
sudo: false
branches:
only:
- master
env:
global:
- secure: "OmrJ9gTiMzTIWzO2X3vGIx1Yp7HnDY1SBsKChBcYhtb0G6XVlpit0GnkbSozEwnInATwC2XjrIwpliUJNizWuYhpwoH9r/iCVU7qG4MCYEVtFaDQmnPXeTvSOs5peC5tor0r6UkjiHIUF4WorFNidGXqXrCxGciF8RyV76ouuew="
- secure: "djA2xZYLFEhGyRYGJZBBUuZdWcUQqtJA5fFhknnDQUyG2B7VyLvoeIg2t8usQ1sCN8cdlIFuDVeRQhD/MOojFpRqwIbiDuz3kOaiVur/XPUBbMDmWsqAKdzkSehhenY5qhjnj58u/qpa6xoU4W/hquldoMiG4O5fzLOu3FEC7vQ="
script:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ant -lib lib/ant-salesforce.jar -Dsf.username=${SFUSER} -Dsf.password=${SFPWD} deployRunNoTests || [ "${TRAVIS_PULL_REQUEST}" != "false" ]'
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] && ant -lib lib/ant-salesforce.jar -Dsf.username=${SFUSER} -Dsf.password=${SFPWD} validateAllTests || [ "${TRAVIS_PULL_REQUEST}" = "false" ]'