Skip to content

Commit 8cdbfb0

Browse files
authored
Merge pull request #57 from Simperium/babel-update
Automated Builds and Dependency Updates
2 parents 68300c2 + 71fb11e commit 8cdbfb0

5 files changed

Lines changed: 5297 additions & 24 deletions

File tree

.babelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"presets": ["es2015"]
2+
"presets": [
3+
[ "env", { "targets": { "browsers": "last 2 versions"} } ]
4+
]
35
}

.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)