forked from wenzhixin/bootstrap-table
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (29 loc) · 686 Bytes
/
.travis.yml
File metadata and controls
32 lines (29 loc) · 686 Bytes
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
stages:
- test
- deploy
jobs:
include:
- stage: test
language: node_js
node_js:
- 12
name: "Lint src and check docs"
script:
- cd tools
- git clone --depth=1 https://github.com/wenzhixin/bootstrap-table-examples
- npm run pre-commit
if: branch != master AND type = pull_request
- stage: deploy
name: "Deploy docs"
language: ruby
rvm:
- 2.4.1
before_install:
- nvm install 12
script: ./deploy.sh
if: branch = master AND type = push
cache: bundler
env:
global:
- ENCRYPTION_LABEL: "5453d0fdf68a"
- COMMIT_AUTHOR_EMAIL: "wenzhixin2010@gmail.com"