-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
43 lines (36 loc) · 1.4 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
sudo: false
language: node_js
node_js:
- "9.4.0"
env:
global:
- YARN_VERSION=1.3.2
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
script:
- yarn run eslint
- yarn run flow
- yarn run test
- yarn run build
after_success:
- ./node_modules/.bin/codecov
deploy:
- provider: npm
email: evenchange4@gmail.com
api_key:
secure: QcAEMxYX0Iph0mhfGLoL0EOI38xlKDTIQFIMqEPzoc5IeBQ97GYCEyn15XahNKKbNor1UlBcnO6S9+Mxbd7MfknZ0KOCcJyKYwVFjdS8Zpckd6V18Xz59J+VB+E4Z2qfTPQZLWrk8/gsjVAHfyldFkoZ4WH47C9YaxZSm2y5BHDwnecU2uJMz/eOu4aqpyHU4RwbyqLYCKYZXNDVRCnkxu/YMgtVSIQZ02VyTdIAiksgymTHQH4B1whHeZ5oqyjmLGuk0z2j29ENGABDMaz8fmt2ieSqg59LYOj5Dv9rKOS2z7hkOchT1RBakKR2yrwe2/pz241MrNd3Ec6sxzvkEiWqCfCBpdLNvrwBvzZ4tCcJE9iZozLyskT/WJuDJuXpXEPGu0JyzTfvVJqf3tlwxeDjxLbL6LH+I7VhbbG3kQqmpolqmbkQ3jvjF/nQPnoCijf/Xhf3amS+/O5qN4ZkLMWdol2IPm0JoykaFnPQpqZ6HxbIr07P8PtkhPoPpvYAzHdsAASRpxJs+G5bZEiyAh8C5/43AtDHu6M0OCUkX3yJSmRp2xkTucnMnZuVj967N0+MRr9+Y4lYXunIQWDACFCJoVbQeerI18++v8awbLKFq1OSwz/F/psCNPC2/1ECD5Pf9KjdSJxqyFPvq+YR2+qZxIr39jIarIpBKdjYKSE=
skip_cleanup: true
on:
tags: true
repo: evenchange4/svgr.macro
cache:
yarn: true
directories:
- "~/.yarn"
- node_modules
notifications:
email: evenchange4@gmail.com