Skip to content

Commit 7861925

Browse files
authored
Merge branch 'master' into cleanup/auth
2 parents 514f996 + 8cdbfb0 commit 7861925

File tree

6 files changed

+5299
-28
lines changed

6 files changed

+5299
-28
lines changed

.babelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2-
"presets": ["es2015", "flow"],
2+
"presets": [
3+
[ "env", { "targets": { "browsers": "last 2 versions"} }, "flow" ]
4+
],
35
"plugins": [ "transform-object-rest-spread" ]
46
}

.npmignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

.travis.yml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
11
language: node_js
22
sudo: false
3-
before_install:
4-
- npm install -g eslint@2.2 babel-eslint
53
script:
6-
- eslint .
7-
- npm test
4+
# lint errors fail the build
5+
- npm run lint
6+
# unit tests with coverage report
7+
- npm run test:coverage
88
node_js:
9-
- "4.0"
10-
- "5.0"
9+
- '8'
10+
- '7'
11+
- '6'
12+
cache:
13+
directories:
14+
- node_modules
15+
deploy:
16+
# keeps necessary babel dependency for npm prepare
17+
skip_cleanup: true
18+
provider: npm
19+
# dist-tag install using: npm -i simperium@next
20+
tag: next
21+
email: beaucollins@gmail.com
22+
api_key:
23+
secure: N7HwM6lVVeG8dq0UT/U5njFVuW9O8xjpeXI9el6o2WpKPm3HdY1x5lx6PrbsFpY3l103vg135iA02tfkE7ct5sQcHtyYw6+UcrZ9Vr60lE9VS6HqODXSWt18ytSqmAlJGWlZ07kQediFv/Nyy6MiZERmn0Kgm2g3Lpcr7I25k9s=
24+
on:
25+
# builds all tagged commits using node@8.0 environment
26+
tags: true
27+
repo: Simperium/node-simperium
28+
node: '8'

0 commit comments

Comments
 (0)