mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-13 19:44:12 +00:00
dd27cd48bf
* v1.7.3 (#611) * Fix #597: USD value not load (#609) * Converts all the addresses to checksum values * Fix for empty address * fix the order of transactions, change updateSafe to upgradeSafe to avoid naming confusion with the updateSafe action (#610) * Fix #596: Notification when safe is already updated (#599) * Fix notification of update if the safe is already updated * Makes the notification clickable Displays the notification for owners only * Identify upgrade tx * Add red badge to Settings tab * Fixs Padding Removes the red dot if the user is not an owner Co-authored-by: Fernando <fernando.greco@gmail.com> Co-authored-by: Fernando <fernando.greco@gmail.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> * Update package.json (#612) * Add public url to prod webpack config (#615) * add public url to prod webpack config * modify travis/webpack config to add public url * add slash * cherry pick new travis yml merge commit (#620) * V1.7.5 release (#641) * use hash history * update package json * BUG: App index.html cached on production (#642) * remove caching for webapp index.html * keep --delete flag Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com> Co-authored-by: Fernando <fernando.greco@gmail.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com>
75 lines
1.8 KiB
YAML
75 lines
1.8 KiB
YAML
if: (branch = development) OR (branch = master) OR (type = pull_request) OR (tag IS present)
|
|
sudo: required
|
|
dist: xenial
|
|
services:
|
|
- docker
|
|
language: node_js
|
|
node_js:
|
|
- "10"
|
|
os:
|
|
- linux
|
|
env:
|
|
global:
|
|
- DOCKER_COMPOSE_VERSION=1.22.0
|
|
matrix:
|
|
include:
|
|
- env:
|
|
- REACT_APP_NETWORK='mainnet'
|
|
- STAGING_BUCKET_NAME=${STAGING_MAINNET_BUCKET_NAME}
|
|
if: (branch = master AND NOT type = pull_request) OR tag IS present
|
|
- env:
|
|
- REACT_APP_NETWORK='rinkeby'
|
|
before_install:
|
|
# Needed to deploy pull request and releases
|
|
- sudo apt-get update
|
|
- sudo apt-get -y install python-pip python-dev
|
|
- pip install awscli --upgrade --user
|
|
# Install truffle
|
|
- yarn global add truffle
|
|
script:
|
|
- bash ./config/travis/build.sh
|
|
after_success:
|
|
# Pull Request - Deploy it to a review environment
|
|
# Travis doesn't do deploy step with pull requests builds
|
|
- ./config/travis/deploy_pull_request.sh
|
|
# Releases (tagged commits) - Deploy it to a release environment
|
|
- ./config/travis/deploy_release.sh
|
|
|
|
deploy:
|
|
# Development environment
|
|
- provider: s3
|
|
bucket: $DEV_BUCKET_NAME
|
|
access_key_id: $AWS_ACCESS_KEY_ID
|
|
secret_access_key: $AWS_SECRET_ACCESS_KEY
|
|
skip_cleanup: true
|
|
local_dir: build_webpack
|
|
upload-dir: app
|
|
on:
|
|
branch: development
|
|
|
|
# Staging environment
|
|
- provider: s3
|
|
bucket: $STAGING_BUCKET_NAME
|
|
access_key_id: $AWS_ACCESS_KEY_ID
|
|
secret_access_key: $AWS_SECRET_ACCESS_KEY
|
|
skip_cleanup: true
|
|
local_dir: build_webpack
|
|
upload-dir: current/app
|
|
on:
|
|
branch: master
|
|
|
|
# Prepare production deployment
|
|
- provider: s3
|
|
bucket: $STAGING_BUCKET_NAME
|
|
secret_access_key: $AWS_SECRET_ACCESS_KEY
|
|
access_key_id: $AWS_ACCESS_KEY_ID
|
|
skip_cleanup: true
|
|
local_dir: build_webpack
|
|
upload-dir: releases/$TRAVIS_TAG
|
|
on:
|
|
tags: true
|
|
- provider: script
|
|
script: ./config/travis/prepare_production_deployment.sh
|
|
on:
|
|
tags: true
|