Skip to content

Commit

Permalink
Merge a33b980 into 34ff6a0
Browse files Browse the repository at this point in the history
  • Loading branch information
fboucquez committed Apr 1, 2021
2 parents 34ff6a0 + a33b980 commit 15f8075
Show file tree
Hide file tree
Showing 3 changed files with 246 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ before_script:
- VERSION="$(node_load_version)"
- if [[ ! -z "$DOCKER_USERNAME" ]] ; then echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin; fi
- log_env_variables
- if ! [ -x "$(command -v aws)" ]; then curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" ; unzip awscliv2.zip ; sudo ./aws/install ; fi
- aws s3 ls s3://symbol-bootstrap
script:
- npm pack
- npm test
Expand All @@ -37,14 +39,14 @@ jobs:
name: github alpha pages
script: /bin/bash travis/node-functions.sh node_push_github_pages
if: branch = env(DEV_BRANCH) AND type = push
- name: alpha npm
script: npm pack && /bin/bash travis/node-functions.sh node_publish_alpha
- name: alpha npm - s3
script: npm pack && /bin/bash travis/node-functions.sh node_publish_alpha && npm run dist && npm run publish
if: (branch = env(DEV_BRANCH) AND type = push) OR (type = api AND commit_message = alpha)
- stage: release
name: release npm
script: npm pack && /bin/bash travis/node-functions.sh node_publish_release
name: release npm - s3
script: npm pack && /bin/bash travis/node-functions.sh node_publish_release && npm run dist && npm run publish
if: branch = env(RELEASE_BRANCH) AND type = api AND commit_message = env(RELEASE_MESSAGE)
- stage: post release
name: tag and version upgrade
script: npm pack && /bin/bash travis/node-functions.sh node_post_release
script: npm pack && /bin/bash travis/node-functions.sh node_post_release && npm run dist && npm run publish
if: branch = env(RELEASE_BRANCH) AND type = api AND commit_message = env(RELEASE_MESSAGE)
235 changes: 235 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 15f8075

Please sign in to comment.