-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 1.44 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
sudo: false
language: node_js
node_js:
- "9.8.0"
env:
global:
- YARN_VERSION=1.5.1
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 test
- yarn run flow
- yarn run build
- yarn run build-storybook
after_success:
- ./node_modules/.bin/codecov
deploy:
- provider: npm
email: evenchange4@gmail.com
api_key:
secure: SkzLnKsSK8+nh87aZOW3gASxeg9SJrw1k2NNMTqXeARDExySsSuAwpjABRYsfFSm2THZ1Hr+1eHZLG1d7AKaevlJ/6PP+RyrlFkXYb2qBmteH/cTtG9s3DwtgPX9/LwUpPUcnn4ucKrWp9tbr6vcgOdE5VZE+UWoA4ikFfWAv2Ja6vvB3ovIYweh/Vs3jK0g9IHfE7fW+XykdXFoM1BrQIIxFOgGUc4fePPRiL88FmCHrWxcAcJxPFq8PntYr90slLSzrEEXjbabQxWqcTEdbu032SJeThh+hZDAiGWZjBlUhtsBnZGJnp4Zsy1zFoQnxp1yLZEbbS1w565oyt8o+C79oLwHpdABqj77xsk0sjjS5AMwROAsh1sWClqA7J1BvhhyH+W2hfxXkqAzU389rRdKNXGEIQLwkpECS3kLo6P7F4paZFLyaC9YkJ6eeOb0bB990aN+85MsE9ZiemX39YjHu/WaBarKaJ8lTTemHRXl1kO0D9N6zHo3UEAATPy8vz6Ki3GKGQbadQVGQauEwvmMm2+PyaTnoJyfZb/uitl/Pu9Gew3qgLDNNGGgEdEn5dZDIn/gBE6/UluWIN/0vdJ01V0JHCD2OE/pRe1/5xWoH/BH/etfVQaTZfHhGGu4t0Xl2QC8ZZIPLdd+UGKlqg60dlqG1T1aXty2g3ZtWG8=
skip_cleanup: true
on:
tags: true
repo: evenchange4/react-image-onload
cache:
yarn: true
directories:
- "~/.yarn"
- node_modules
notifications:
email: evenchange4@gmail.com