-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.48 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
language: node_js
sudo: true
branches:
only:
- master
node_js:
- '10'
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.16.0
- export PATH=$HOME/.yarn/bin:$PATH
- sudo apt-get update -qq
- sudo apt install -y pcscd libpcsclite-dev libpcsclite1
install:
- yarn
- yarn add -g pkg codecov
cache:
yarn: true
script:
- export NODE_ENV=production
- yarn lint
- ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --reporter lcovonly -- -R spec
- codecov
before_deploy:
- pkg scarlet.js
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: YWot+uiUjiuyuYB34IB2ksWuoYV2b7JJV/tfykdMneI54gxZnp/CGdVelkYO4d7fIlmLkU2xDMtB9yTcTZErznVI51RW26BthEYOQc1dfXW6MUM+r30l2GzgQzdaq1GPB45qUckIaERxVIoGF4eccafhrZQaNpQsvNQ2gCq6Gn1KeLx8l+6+u5tefmrtLbvk83pcI9YD4Hc0ASaPbkHDoLy9k6kZjkJXG+bqX9la2YzwkC3lkXjrqX5BYGroY4//ANAzNYNbb9xR6BpMRpmu1raX/07W1JctdMopi2vwMtYktQ5QK3+2ZhwD/83SPqINM8fjibZdrnNMPHKLFm03cdgRJaBKBkn9v4gN3zMP1NQSUKhrtoIG+lGWEr8/wyPIcSmtDlVTXOLfDmt7NK/r7OqROqPOyiBXG0xMnz900O5Xzx1WZ817tPH3aqfcyKqDrrwDty0mBFn/ZoAVMoWhDjBpzJY8F6r2xKWj41DPZouH+6HakGyHQhIS1683aVdlSR29npvXwp6NFG4AwKKz8UHwyAjsuTdkLnmKrX1JmpBKrZrpHEMYcDz/3hXIWrgkjDXEEwH/VGL0BZk/glKG2hitG/XwnC+RpXAcIctR0rgnVrIqT2PFP4ZPS1JIGxncLYai4o9Vr+qQ2+cLsengcBmW0kwWOelUW34k8eyUEA8=
file:
- scarlet-win.exe
- scarlet-linux
- scarlet-macos
on:
repo: cesar-richard/scarlet
branch: master
name: Release ${TRAVIS_BUILD_NUMBER} ($(date +'%d.%m.%Y %R'))