forked from errata-ai/vale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (29 loc) · 863 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
dist: xenial
sudo: required
language: go
cache:
directories:
- vendor/bundle
services:
- docker
go:
- 1.13.x
before_install:
- export BUNDLE_GEMFILE=$PWD/Gemfile
- export TRAVIS_RUBY_VERSION="$(ruby -e 'puts RUBY_VERSION')-travis"
- export PATH=$PATH:~/bin:$PWD/dita-ot-3.4/bin/
- curl -sfL https://install.goreleaser.com/github.com/ValeLint/vale.sh | sh -s latest
- wget https://github.com/dita-ot/dita-ot/releases/download/3.4/dita-ot-3.4.zip
- unzip dita-ot-3.4.zip > /dev/null 2>&1
- sudo apt-get install -y xsltproc
- pip install --user sphinx
- gem install asciidoctor
install:
- make setup
- # FIXME: make rules
- make build
script:
- make test
after_success:
- # echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- # test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash