-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
38 lines (33 loc) · 1.51 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
install:
- sudo apt update
- sudo apt install -y python3-pip jq
- sudo pip3 install yq
- git clone https://github.com/sstephenson/bats.git
- cd bats
- sudo ./install.sh /usr/local
- cd ..
- pip3 install mkdocs Pygments
- wget -O $HOME/shfmt https://github.com/mvdan/sh/releases/download/v3.0.1/shfmt_v3.0.1_linux_amd64
- chmod +x $HOME/shfmt
script:
- cd tests/unit_tests
- ./run
- cd $TRAVIS_BUILD_DIR
- $HOME/shfmt -sr -i 0 -d sheep tests/unit_tests/run tests/integration_test/run
after_success:
- sudo apt install -y python-pip
- sudo pip install mkdocs
- cd $TRAVIS_BUILD_DIR/doc
- mkdocs build
- cp site/index.html site/index
deploy:
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
local_dir: doc/site
on:
branch: master
env:
global:
secure: eTrGBimGc5SZ58msRI5he3i09nAf/aeIO7GbIMjhbX0ixbm1I+glefhz3HAKQ1rLT7OIeLjskMGEAuxuUV8WzOc0myEYpL9eBCb4n6eX2i9/K3yfG29AZrOVhT3H1BV9KplrnTlLVjJPiMO4Mf79MOOgqBa3zz0xuTswMgh7/aoPnOArYnsjgHxaVpkmWw+T5LDrm7h+9XSAtcy3PFH6zrWqier/oTtoOeRBs7QiCWjTsct00YBiKEJXI7GHZ0/uMis6q+0SUXWr4+JkpUTji0GU1nq0gByd1CWs2qHZpWfnuR7ZgJwy0BiP9V0jZSQORrfhYvsXWhuJyKQ2jrhIKtDcCOWClYgEuEOCqQ74CTy4uSu9snUPo0SKj65DAWRtLk2YFxESI4ZQGtUHeKeUOxiZX9SPcSjvEocwszKlVqASC+sPngwtXTQOZcBhBxDK5v2VpS+f8DPCf024CVvST0/UbbtsPJd3DUusfOwO3JT9AMU625dFCXlTplY5t6L51KPEU7+fi/GGKB6n5R3i8ncy4JM6JjyAYaAp6X8bZHujQGajtrdm41PXDB2fwzCjm64Y9vr/bGmVxlmP8nk0leK1pKYX+dplRNFGQCSDwwOs9fAIoYjm0cslFP+zKE7lCXWuNKLoDFHLV7zBjuH/1rQGgsJ0HGs+tcQ/VKMGYkA=