Skip to content

Commit edc717e

Browse files
committed
chore: renovate and travis
1 parent 82b7b2f commit edc717e

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.travis.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
language: node_js
2+
node_js: 10
3+
4+
cache:
5+
yarn: true
6+
sudo: required
7+
dist: trusty
8+
9+
stages:
10+
- Tests
11+
- name: Release
12+
if: branch = v2 and type = push
13+
14+
jobs:
15+
fail_fast: true
16+
include:
17+
- stage: Tests
18+
name: Conventional Commits
19+
node_js: 10
20+
script:
21+
- commitlint-travis
22+
- name: Fixed Dependencies
23+
- name: Floating Dependencies
24+
install: yarn install --no-lockfile --non-interactive
25+
- node_js: 8
26+
- node_js: stable
27+
28+
- stage: Release
29+
name: Github Release
30+
script: yarn semantic-release
31+
32+
before_install:
33+
- curl -o- -L https://yarnpkg.com/install.sh | bash
34+
- export PATH=$HOME/.yarn/bin:$PATH
35+
36+
install:
37+
- yarn install --non-interactive
38+
39+
script:
40+
- yarn test:ci

renovate.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@mike-works/js-lib-renovate-config"]
3+
}

0 commit comments

Comments
 (0)