Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit 2f56f50

Browse files
author
Fuss Florian (uid10804)
committed
ci(cicd): remove deployment stage - more effort needs to be spent to make this fit
1 parent 5e33a97 commit 2f56f50

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.travis.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ git:
44
language: node_js
55
env:
66
- COMMITCOUNT="$(git log $(git describe --tags --abbrev=0)..HEAD --oneline|grep -iv 'revert' |grep -e 'fix(' -e 'feat(' -e 'fix:' -e 'feat:' | wc -l | awk '{print $1}')"
7-
- SLS_NAME="$(echo sls-$TRAVIS_BRANCH | sed 's/[^a-zA-Z0-9-]//g' |cut -c1-20)"
87
cache:
98
directories:
109
- ~/.npm
@@ -13,13 +12,12 @@ notifications:
1312
node_js:
1413
- '10'
1514
before_install:
16-
- pip install awscli
1715
- git log $(git describe --tags --abbrev=0)..HEAD --oneline
1816
- echo $COMMITCOUNT
19-
- echo $SLSNAME
2017
install:
2118
- npm config set package-lock false
2219
- make install
20+
2321
jobs:
2422
include:
2523
- script:
@@ -39,18 +37,6 @@ jobs:
3937
- npm run test
4038
before_script: cd packages/server
4139
name: test-server
42-
- stage: deploy
43-
if: (type = pull_request)
44-
before_script:
45-
- make fake-credentials
46-
- cd packages/cli
47-
script:
48-
- npm run build
49-
- bin/run --version
50-
- bin/run create-stack ../../db.json -i=us-east-1 -d='serverless deploy test' -n=$SLS_NAME -y
51-
- cd $SLS_NAME && aws s3 rm s3://jsonsls-$SLS_NAME-dev/ --recursive && sls remove
52-
after_script:
53-
- aws cloudformation delete-stack --stack-name $SLS_NAME
5440
- stage: release
5541
if: (type = push AND branch = master)
5642
before_script:

0 commit comments

Comments
 (0)