forked from unidoc/unioffice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (26 loc) · 1003 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
language: go
go:
- 1.12.x
- 1.13.x
- 1.14
install:
- mkdir -p $HOME/gopath/src/unidoc/
- ln -s $HOME/gopath/src/github.com/unidoc/unioffice $HOME/gopath/src/github.com/unidoc/unioffice
- mkdir -p $HOME/dotnet
- cd $HOME/dotnet
- wget https://download.visualstudio.microsoft.com/download/pr/8db2b522-7fa2-4903-97ec-d6d04d297a01/f467006b9098c2de256e40d2e2f36fea/dotnet-sdk-3.1.301-linux-x64.tar.gz
- tar -xf dotnet-sdk-3.1.301-linux-x64.tar.gz
- cd $GOPATH/src/github.com/unidoc/unioffice/.travis
- unzip validator.zip
- cd openxml-validator
- $HOME/dotnet/dotnet build
script:
- cd $HOME/gopath/src/github.com/unidoc/unioffice
- ./build-examples.sh
- cd .travis
- ./validate-examples.sh
- cd $HOME/gopath/src/github.com/unidoc/unioffice
- go vet ./...
- go test ./...
after_success:
- ./test-coverage.sh