forked from perlin-network/noise
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (32 loc) · 904 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
sudo: false
git:
depth: 1
matrix:
include:
- name: "Run Unit Tests"
language: go
go:
- "1.11"
install: true
script:
- GO111MODULE=on go test -coverprofile=coverage.txt -covermode=atomic -bench -race ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
- name: "Build Documentation"
language: rust
cache: cargo
rust: stable
before_script:
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
- (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.1" mdbook)
- cargo install-update -a
script:
- cd docs && mdbook build && mdbook test
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: docs/book
keep-history: false
on:
branch: master