This repository has been archived by the owner on Dec 9, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (27 loc) · 2 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
language: node_js
node_js:
- "node" # Latest stable Node.js release
- "lts/*" # Latest LTS Node.js release
matrix:
fast_finish: true
install:
- yarn install
script:
- echo -e "$(curl --silent https://raw.githubusercontent.com/FantasticFiasco/logo/master/logo.ansi)"
- if [ "$TRAVIS_NODE_VERSION" == "node" ]; then yarn coverage; fi
- if [ "$TRAVIS_NODE_VERSION" != "node" ]; then yarn test; fi
- yarn lint
deploy:
- provider: npm
email: mattias.kindborg@gmail.com
api_key:
secure: ebbhOYR+0VjYiAQIBVmvTa12AFsQzKoUJslLK7lkp23MvrkC9aXlc3Rqdzk20X1rJGNsoALWIumgmjxXypxfSJ51Y/i+o3bGGjulIggmblpixa+OGLRxnR30r9k6PT9W8k2LIJyC5kY1CPWpTpUtkK6aj8TZ4B5x6Z8nWUciI3JFOcM7ZitUg/Dpq/h8tSTvS0cQWQecFaSmmRPosjdsLfl7qDPMEoqs6lAxZRbXy6rTrXoqjhRMSlGU+G7yLGiGpiSz7stpmy/Nz6ByEebHEkocwy8thPCK2iBKI9AoKO8ZM3bVDVEtq+C9cHjOWT6D99KDARZWAVdT+dsJNIaAQqPEwaRire1OswYc2WzYRVKJo0ioh8NxbNFk3jTEweKOdIN6k7jhWOPk0rgCW30z7/HhzXz1s7HJgVPVyjR6wHXDT9G2wdr/cVCsr3d3hwSa6A4awecAi9/Oep0Nd7t4M2+On3hliWsGIz4wW1lJP62GK5/VPEvZxejy498IaXiXA/KMQZVuMG+sc9Ge2LpHWjdxSwKAKl3ZiZDoTWaUabs9nmqACNKOHZC6zYam5qSdoMZUVX79fZmlmSyIC02SUgnSTh2M7poxpVVnirIDF51aPu94t6L9z5UhquFs6L4SiWyxM/XEJxmvKmIXou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