-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
47 lines (39 loc) · 1.46 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
sudo: false
language: node_js
node_js:
- '11.10.0'
env:
global:
- YARN_VERSION=1.13.0
before_install:
- export PATH="$HOME/.yarn/bin:$PATH"
- |
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
fi
install:
- yarn install --pure-lockfile
script:
- yarn run eslint
- yarn run test
- yarn run flow-coverage
- yarn run build
after_success:
- ./node_modules/.bin/codecov
deploy:
- provider: npm
email: [email protected]
api_key:
secure: ORFG+ADKgfaYoR8d4ENp5CV0JrhYWaR66x4xJph5jU95bnbxdqNwRBf0aecWbrLnOFnYo6nhjVEqu+7Q6IgvorVjMCVI76yysjVAUhCMkRD72tp0FloEXLZ/H8PAO7YYASAI92TItdDWCugUMJrETRUIrKyo+ub6/M2nSz12JUiDaOVNjTrGsFReviBFcHcpsPb+u0/AMKj3kjKVOtIOYVzPM7gXOeqvQNVfVSZq4b3o/Hwu7hf0SW6BUHKdhC49VCRty75uhcpx9UHH/uq23QVWzNHpUZRjhIzXmMB5+N1K88MyP4cX3Xd6g9ANGE5szVT2J49iPMWY1FGdXye3mIiqQ7bxGkaggr4zMjMlhtd7s3MjUjoj/1tjSRzTs3I0QdD1nGfEsEk5FJQx+mAltSdfqIrg6nGlif0n6VLlzZI1LkDuvKHXrc77r4RiZizkZhzFGrxgi/SBZJ4g1NnCK4GTKOSLDhHGkoTjiqs1HmT0ArelGIAt41+oi4HAyk2Z8JqeYU8H15VuhC5uOj+zf/D3UAIBd9n0WEs6VC/CGAdVtthG1rwiiFkEoyTrZ/nO2JHJ89AWdN3jiARS6aj8+2kzJq3+xHr+c8yHDkEzLtYrKdP8ZESyVPuP1E9w4WSnvSE2/O8gFnLc0LijsvSw/KbIrC+Exl5bwr1+9RkNdR0=
skip_cleanup: true
on:
tags: true
repo: evenchange4/graphql.macro
cache:
yarn: true
directories:
- '~/.yarn'
- node_modules
notifications:
email: