Skip to content

Commit 1febcfe

Browse files
Merge pull request cerebral#54 from cerebral/changeActionsSignature
feat(overmind): new typing strategy
2 parents 5c06a7b + c56ea41 commit 1febcfe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+6755
-5341
lines changed

.travis.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ sudo: false
22
language: node_js
33
node_js: '8'
44
install:
5-
- npm ci
5+
- npm ci
66
cache:
77
directories:
8-
- "$HOME/.npm"
8+
- '$HOME/.npm'
99
addons:
1010
apt:
1111
sources:
@@ -19,30 +19,30 @@ notifications:
1919
email: false
2020
before_install: dpkg --compare-versions `npm -v` ge 6.3 || npm i -g npm@^6.3
2121
script:
22-
- |
23-
if [[ $SKIP_TESTS != 'true' ]]; then
24-
npm prune
25-
npm run checkdeps
26-
npm run lint
27-
npm test
28-
fi
22+
- |
23+
if [[ $SKIP_TESTS != 'true' ]]; then
24+
npm prune
25+
npm run checkdeps
26+
npm run lint
27+
npm test
28+
fi
2929
after_success:
30-
- |
31-
if [[ $TRAVIS_SECURE_ENV_VARS == 'true' ]]; then
32-
git config --global user.email "[email protected]";
33-
git config --global user.name "Cerebral JS";
34-
fi
35-
if [[ $TRAVIS_BRANCH == 'master' || $TRAVIS_BRANCH == 'next' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
36-
printf "//registry.npmjs.org/:_authToken=$NPM_TOKEN\n" > ~/.npmrc
37-
npm install --no-save [email protected] now
38-
npm run release
39-
fi
40-
if [[ $TRAVIS_BRANCH == 'master' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
41-
now ./packages/overmind-website --token $NOW_TOKEN && now alias overmindjs.org --token $NOW_TOKEN
42-
fi
43-
if [[ $TRAVIS_BRANCH == 'next' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
44-
now ./packages/overmind-website --token $NOW_TOKEN && now alias next.overmindjs.org --token $NOW_TOKEN
45-
fi
30+
- |
31+
if [[ $TRAVIS_SECURE_ENV_VARS == 'true' ]]; then
32+
git config --global user.email "[email protected]";
33+
git config --global user.name "Cerebral JS";
34+
fi
35+
if [[ $TRAVIS_BRANCH == 'master' || $TRAVIS_BRANCH == 'next' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
36+
printf "//registry.npmjs.org/:_authToken=$NPM_TOKEN\n" > ~/.npmrc
37+
npm install --no-save [email protected] now
38+
npm run release
39+
fi
40+
if [[ $TRAVIS_BRANCH == 'master' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
41+
now ./packages/overmind-website --docker --token $NOW_TOKEN && now alias overmindjs.org --token $NOW_TOKEN
42+
fi
43+
if [[ $TRAVIS_BRANCH == 'next' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
44+
now ./packages/overmind-website --docker --token $NOW_TOKEN && now alias next.overmindjs.org --token $NOW_TOKEN
45+
fi
4646
branches:
4747
except:
48-
- "/^v\\d+\\.\\d+\\.\\d+$/"
48+
- "/^v\\d+\\.\\d+\\.\\d+$/"

0 commit comments

Comments
 (0)