forked from mike-works/typescript-fundamentals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (33 loc) · 748 Bytes
/
.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
38
39
40
language: node_js
node_js: 10
cache:
yarn: true
sudo: required
dist: trusty
stages:
- Tests
- name: Release
if: branch = v2 and type = push
jobs:
fail_fast: true
include:
- stage: Tests
name: Conventional Commits
node_js: 10
script:
- commitlint-travis
- name: Fixed Dependencies
- name: Floating Dependencies
install: yarn install --no-lockfile --non-interactive
- node_js: 8
- node_js: stable
- stage: Release
name: Github Release
script: yarn semantic-release
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- yarn install --non-interactive
script:
- lerna run test --scope=hello-ts