-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
40 lines (40 loc) · 846 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
sudo: false
node_js:
- "10"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache:
directories:
- ~/.npm
- node_modules
notifications:
email: false
before_install:
- nvm install && nvm use
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.9.4
- export PATH="$HOME/.yarn/bin:$PATH"
- yarn install
install:
- yarn global add vuepress
script: yarn run docs:build
after_success:
- yarn semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
deploy:
provider: pages
skip-cleanup: true
local_dir: docs/.vuepress/dist
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
repo: breadlesscode/neos-blog
keep-history: true
on:
branch: master