Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Merge e6233c8 into 876c474
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromesimeon committed Jan 29, 2019
2 parents 876c474 + e6233c8 commit b52d382
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- '8'
- '8'
dist: trusty
before_install: |
set -e
Expand All @@ -10,7 +10,7 @@ before_install: |
install: |
set -e
date
npm install -g lerna@2.11.0
npm install -g lerna@^2.11.0
lerna bootstrap 2>&1
date
script: lerna run test 2>&1
Expand All @@ -20,12 +20,11 @@ deploy:
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./.travis/deploy.sh; fi'
skip_cleanup: true
on:
tags: true
all_branches: true
repo: accordproject/cicero
after_failure: tail -n +1 -- /home/travis/.npm/_logs/*-debug.log
after_success: npm run coverage
after_success: test $TRAVIS_REPO_SLUG = "accordproject/ergo" && npm run coverage
cache:
directories:
- node_modules
sudo: required
services:
4 changes: 2 additions & 2 deletions .travis/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ else
_exit "Unknown build focus" 1
fi

## Stable releases only
## Stable releases only; both latest and next then clean up git, and bump version number
if [[ "${BUILD_RELEASE}" = "stable" ]]; then

# Configure the Git repository and clean any untracked and unignored build files.
Expand All @@ -77,7 +77,7 @@ if [[ "${BUILD_RELEASE}" = "stable" ]]; then

# Add the version number changes and push them to Git.
git add .
git commit -m "Automatic version bump to ${NEW_VERSION}" -s
git commit -m "Automatic version bump to ${NEW_VERSION}"
git push origin master

fi
Expand Down

0 comments on commit b52d382

Please sign in to comment.