Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
kostysh committed Aug 29, 2018
2 parents 24d91c7 + e949fb5 commit 09994a3
Show file tree
Hide file tree
Showing 120 changed files with 82,347 additions and 83,475 deletions.
2 changes: 1 addition & 1 deletion .soliumrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"plugins": ["security", "zeppelin"],
"rules": {
"quotes": ["error", "double"],
"indentation": ["error", 4],
"indentation": ["warning", 4],
"operator-whitespace": "off",
"no-empty-blocks": "off",
"security/no-tx-origin": "warning",
Expand Down
25 changes: 16 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,46 @@ services:
- docker
branches:
only:
- master
- develop
- "/^v\\d+\\.\\d+\\.\\d+(-\\w+)?$/"
stages:
- lint
- test
- coverage
- deploy
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
- /^v[0-9]+\.[0-9]+\.[0-9]+-staging$/
jobs:
include:
- stage: lint
if: branch =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/
script:
- set -e
- npm link
- npm run lint
- set +e
- stage: test
if: branch =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/
script:
- set -e
- npm link
- npm run test
- set +e
- stage: coverage
if: branch =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/
script:
- set -e
- npm run test:coverage
- cat ./coverage/lcov.info | npx coveralls
- set +e
- stage: deploy
if: tag IS present
- stage: deploy_staging
if: branch =~ /^v[0-9]+\.[0-9]+\.[0-9]+-staging$/
script:
- set -e
- npm link
- npx truffle migrate --network infura_rinkeby
- npx ghu issue -k "$GITHUB_API_TOKEN" -o pandoraboxchain -r pyrrha-webclient,pyrrha-pynode,pyrrha-boxproxy,pyrrha -t "Staging (!!!) contracts addresses update required" -b "Pandora:$(< ./build/addresses/Pandora.json), PandoraMarket:$(< ./build/addresses/PandoraMarket.json)"
- set +e
- stage: deploy_prod
if: branch =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/
script:
- set -e
- npm link
- npx truffle migrate --network infura_rinkeby
- npx ghu issue -k "$GITHUB_API_TOKEN" -o pandoraboxchain -r pyrrha-webclient,pyrrha-pynode,pyrrha-boxproxy,pyrrha -t "Contracts addresses update required" -b "Pandora:$(< ./build/addresses/Pandora.json), PandoraMarket:$(< ./build/addresses/PandoraMarket.json)"
- set +e

1,342 changes: 671 additions & 671 deletions build/contracts/BasicToken.json

Large diffs are not rendered by default.

Loading

0 comments on commit 09994a3

Please sign in to comment.