forked from kevinchappell/formBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (52 loc) · 2.53 KB
/
.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
45
46
47
48
49
50
51
52
sudo: required
dist: trusty
stages:
- lint
- test
- deploy
language: node_js
node_js: '10'
python: '3.4'
cache:
directories:
- "~/.npm"
- node_modules
notifications:
email: false
git:
submodules: false
before_install:
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials
- git config --global credential.helper "store --file=.git/credentials"
- git config --global user.email "[email protected]"
- "git config --global user.name \"\U0001F916\""
jobs:
include:
- stage: lint
script: yarn lint
skip_cleanup: true
- stage: deploy
if: branch = master
before_deploy:
- sudo apt-get update
- sudo apt-get -y install python3-pip python-dev
- sudo pip3 install --upgrade setuptools
- sudo pip3 install mkdocs
- python3 -V
- pip3 -V
- mkdocs -V
- yarn build:all
deploy:
provider: script
script:
- yarn travis-deploy-once "yarn semantic-release"
skip_cleanup: true
after_deploy:
- yarn deploy
- git clone --depth 1 "https://${GH_TOKEN}:@github.com/${SITE_REPO}" "$SITE_DIR" 2> /dev/null || (cd "$SITE_DIR" ; git pull; cd ../)
- ls -l
- yarn deploy:site
env:
global:
- secure: Fzq6BMwpDtUVH6ONSD5cg3gxDl/6bL9d4xoCnb1Ck3jhLen7GVSBCVs8dTPP0J1kMUbcPfywdG5CrdTMUXtuT3i7uVEqDxemkWYLyKwtvtqWPSFFTS9WvLnoxPvpTnDDoXvU9DhZoFP5U6nEELZIcqJceGwpDReROvJM1LKug72su7LHG40FWPj3w1X5XvMMKZlp6ClFwHZYDs7ybDcWlz6s2TsdunW0JW15+KMEDVuPTKw5VVk6ytnC3j3XXNus8ARRH/vG7DWCOtOai2ckYHchqz9c37oms5xA8nT4+J4Se/sgvkZo/jfa5tJSOljppUxMwyyNdkEu3QIEVNPgBtQf34KhWFN+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