Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit 7858b51

Browse files
author
Mateu Aguiló Bosch
committed
feat: update CI configuration for v3
1 parent 3e97b75 commit 7858b51

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

.travis.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,11 @@ cache:
1313
directories:
1414
- "$HOME/.composer/cache/files"
1515

16-
notifications:
17-
webhooks:
18-
urls:
19-
- http://ec2-54-244-218-244.us-west-2.compute.amazonaws.com/issue
20-
on_success: never
21-
on_failure: always
22-
on_start: never
23-
on_cancel: never
24-
on_error: always
25-
2616
env:
2717
global:
2818
- PROJECT_NAME=contentacms
2919
- PROJECT_BASE_PATH=$HOME/$PROJECT_NAME
30-
- PROJECT_RELEASE_BRANCH=${PROJECT_RELEASE_BRANCH:-8.x-1.x}
20+
- PROJECT_RELEASE_BRANCH=${PROJECT_RELEASE_BRANCH:-8.x-3.x}
3121
- WEB_HOST=127.0.0.1
3222
- WEB_PORT=8888
3323

@@ -74,7 +64,7 @@ jobs:
7464
- composer run-script install-contenta $PROJECT_BASE_PATH --timeout=0
7565
# Set Deployment Variable
7666
- RELEASE_DATE=$( date +%Y-%m-%d)
77-
- TRAVIS_TAG="v1.${TRAVIS_BUILD_NUMBER}"
67+
- TRAVIS_TAG="v3.0.${TRAVIS_BUILD_NUMBER}"
7868
# Clean the Contenta Profile Folder
7969
- composer run-script ci:before-deploy contentacms_profile_cleanup "$PROJECT_BASE_PATH/web" --timeout=0
8070
# Remove Site files
@@ -92,12 +82,3 @@ jobs:
9282
# Only release if it $PROJECT_RELEASE_BRANCH gets updated
9383
branch: $PROJECT_RELEASE_BRANCH
9484
repo: "contentacms/contenta_jsonapi"
95-
after_deploy:
96-
# Clone the demo site repo to trigger an automated.
97-
- git clone git@github.com:contentacms/contenta_jsonapi_demo.git contenta_jsonapi_demo
98-
# Navigate inside the cloned project.
99-
- cd contenta_jsonapi_demo
100-
- echo -e " * Profile update -> buildNum=[$CIRCLE_BUILD_NUM]($CIRCLE_BUILD_URL) on [$CIRCLE_PR_REPONAME]($CIRCLE_REPOSITORY_URL)@CIRCLE_SHA1\n" >> DEPLOYS.md
101-
- git add DEPLOYS.md
102-
- 'git commit -m "ci(Deploy): Trigger a deploy to the demo site"'
103-
- git push origin master

0 commit comments

Comments
 (0)