Skip to content

Commit

Permalink
Merge pull request #74 from sugarcrm/issue-57
Browse files Browse the repository at this point in the history
Issue 57
  • Loading branch information
mmarum-sugarcrm authored May 4, 2018
2 parents 4127a4b + 19c2ca6 commit f9ddb69
Show file tree
Hide file tree
Showing 16 changed files with 343 additions and 107 deletions.
68 changes: 10 additions & 58 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
stages:
- name: Test PackageGenerator
- name: Run PHPUnit
- name: Run Tests
- name: Build & Post on GitHub
if: branch = master
jobs:
Expand All @@ -23,102 +23,54 @@ jobs:
- yarn global add grunt-cli
script:
- grunt test-js
- stage: Run PHPUnit
- stage: Run Tests
sudo: required
language: php
php: '7.1'
services:
- docker
env:
- SUGAR_VERSION=7.10 SUGAR_EDITION=Ent
- SUGAR_VERSION=8.0 SUGAR_EDITION=Ent
before_script:
- cd package
- composer install
- "./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
- ./SetupEnvAndRunTests.sh $SUGARCRM_USERNAME $SUGARCRM_PASSWORD $SUGAR_VERSION $SUGAR_EDITION $GITHUB_USERNAME $GITHUB_PASSWORD workspace/sugardocker
- stage: Run Tests
sudo: required
language: php
php: '7.1'
services:
- docker
env:
- SUGAR_VERSION=7.10 SUGAR_EDITION=Pro
- SUGAR_VERSION=8.0 SUGAR_EDITION=Pro
before_script:
- cd package
- composer install
- "./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
- ./SetupEnvAndRunTests.sh $SUGARCRM_USERNAME $SUGARCRM_PASSWORD $SUGAR_VERSION $SUGAR_EDITION $GITHUB_USERNAME $GITHUB_PASSWORD workspace/sugardocker
- stage: Run Tests
sudo: required
language: php
php: '7.1'
services:
- docker
env:
- SUGAR_VERSION=7.10 SUGAR_EDITION=Ult
- SUGAR_VERSION=8.0 SUGAR_EDITION=Ult
before_script:
- cd package
- composer install
- "./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.11 SUGAR_EDITION=Ent
before_script:
- cd package
- composer install
- "./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.11 SUGAR_EDITION=Pro
before_script:
- cd package
- composer install
- "./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.11 SUGAR_EDITION=Ult
before_script:
- cd package
- composer install
- "./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
- ./SetupEnvAndRunTests.sh $SUGARCRM_USERNAME $SUGARCRM_PASSWORD $SUGAR_VERSION $SUGAR_EDITION $GITHUB_USERNAME $GITHUB_PASSWORD workspace/sugardocker
- stage: Build & Post on GitHub
language: php
php: '7.1'
Expand Down
Loading

0 comments on commit f9ddb69

Please sign in to comment.