-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cd): update travis config and deploy script
- Loading branch information
1 parent
a42ba0b
commit ac03283
Showing
2 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,11 @@ cache: | |
- node_modules | ||
notifications: | ||
email: false | ||
git: | ||
submodules: false | ||
before_install: | ||
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials | ||
- git config credential.helper "store --file=.git/credentials" | ||
- git config --global user.email "[email protected]" | ||
- "git config --global user.name \"\U0001F916\"" | ||
jobs: | ||
include: | ||
- stage: lint | ||
|
@@ -23,10 +26,6 @@ jobs: | |
- stage: deploy | ||
if: branch = master | ||
before_deploy: | ||
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials | ||
- git config credential.helper "store --file=.git/credentials" | ||
- git config --global user.email "[email protected]" | ||
- "git config --global user.name \"\U0001F916\"" | ||
- sudo apt-get update | ||
- sudo apt-get -y install python3-pip python-dev | ||
- sudo pip3 install --upgrade setuptools | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters