-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
44 lines (37 loc) · 862 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
41
42
43
44
language: node_js
dist: trusty
sudo: required
node_js:
- "12.13.1"
git:
depth: 25
quiet: true
before_install:
- npm install -g yarn
install: npm install
branches:
only:
- master
- development
stages:
- name: "Test & Build"
jobs:
include:
- stage: "Test & Build"
name: Build
script: nx run lite-serve:build
- stage: "Test & Build"
name: Test
script:
- nx run lite-serve:build
- npm install file:dist/libs/lite-serve
- nx run lite-serve-e2e:e2e
- stage: deploy
if: branch == master and type == push && !fork
node_js: 'node' # pre-installed version
script:
- npm install -g semantic-release@^15
- nx run lite-serve:build
# - npm run semantic-release
cache:
directories: