Skip to content

Commit

Permalink
Merge pull request #47 from sugarcrm/issue-30
Browse files Browse the repository at this point in the history
Issue 30
  • Loading branch information
lschaefer-sugarcrm authored Apr 10, 2018
2 parents 8cce01c + d2c91d2 commit 58e37b3
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 3 deletions.
48 changes: 48 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,54 @@ jobs:
node_js: '9'
before_install:
- yarn global add grunt-cli
- stage: Run PHPUnit
sudo: required
language: php
php: '7.1'
services:
- docker
env:
- SUGAR_VERSION=7.10 SUGAR_EDITION=Ent
before_script:
- composer install
- cd package
- "./pack.php -v $(date +'%Y%m%d-%H.%M.%S')"
- cd ../scripts
- sudo service mysql stop
script:
- ./SetupEnvAndRunPHPUnitTests.sh $SUGARCRM_USERNAME $SUGARCRM_PASSWORD $SUGAR_VERSION $SUGAR_EDITION $GITHUB_USERNAME $GITHUB_PASSWORD workspace/sugardocker
- stage: Run PHPUnit
sudo: required
language: php
php: '7.1'
services:
- docker
env:
- SUGAR_VERSION=7.10 SUGAR_EDITION=Pro
before_script:
- composer install
- cd package
- "./pack.php -v $(date +'%Y%m%d-%H.%M.%S')"
- cd ../scripts
- sudo service mysql stop
script:
- ./SetupEnvAndRunPHPUnitTests.sh $SUGARCRM_USERNAME $SUGARCRM_PASSWORD $SUGAR_VERSION $SUGAR_EDITION $GITHUB_USERNAME $GITHUB_PASSWORD workspace/sugardocker
- stage: Run PHPUnit
sudo: required
language: php
php: '7.1'
services:
- docker
env:
- SUGAR_VERSION=7.10 SUGAR_EDITION=Ult
before_script:
- composer install
- cd package
- "./pack.php -v $(date +'%Y%m%d-%H.%M.%S')"
- cd ../scripts
- sudo service mysql stop
script:
- ./SetupEnvAndRunPHPUnitTests.sh $SUGARCRM_USERNAME $SUGARCRM_PASSWORD $SUGAR_VERSION $SUGAR_EDITION $GITHUB_USERNAME $GITHUB_PASSWORD workspace/sugardocker
- stage: Run PHPUnit
sudo: required
language: php
Expand Down
6 changes: 3 additions & 3 deletions scripts/GetCopyOfSugar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,17 +238,17 @@ sugarEdition_Pro="Pro"
if [[ "$sugarName" == "Sugar$sugarEdition_Ult-$sugarVersion_7_10" ]]
then
authenticateToDevBuildsCommunity
downloadUrl="https://community.sugarcrm.com/servlet/JiveServlet/downloadBody/5839-102-1-8005/SugarUlt-7.10.2.0-dev.1.zip"
downloadUrl="https://community.sugarcrm.com/servlet/JiveServlet/downloadBody/4930-102-2-6967/SugarUlt-7.10.0.0-dev.1.zip"

elif [[ "$sugarName" == "Sugar$sugarEdition_Ent-$sugarVersion_7_10" ]]
then
authenticateToDevBuildsCommunity
downloadUrl="https://community.sugarcrm.com/servlet/JiveServlet/downloadBody/5837-102-1-8003/SugarEnt-7.10.2.0-dev.1.zip"
downloadUrl="https://community.sugarcrm.com/servlet/JiveServlet/downloadBody/4921-102-5-6966/SugarEnt-7.10.0.0-dev.1.zip"

elif [[ "$sugarName" == "Sugar$sugarEdition_Pro-$sugarVersion_7_10" ]]
then
authenticateToDevBuildsCommunity
downloadUrl="https://community.sugarcrm.com/servlet/JiveServlet/downloadBody/5838-102-1-8004/SugarPro-7.10.2.0-dev.1.zip"
downloadUrl="https://community.sugarcrm.com/servlet/JiveServlet/downloadBody/4941-102-2-6968/SugarPro-7.10.0.0-dev.1.zip"

elif [[ "$sugarName" == "Sugar$sugarEdition_Ult-$sugarVersion_7_11" ]]
then
Expand Down

0 comments on commit 58e37b3

Please sign in to comment.