mirror of
https://github.com/unidoc/unioffice.git
synced 2025-04-25 13:48:53 +08:00

* update license and terms * Fixes * Create ACKNOWLEDGEMENTS.md * Update ACKNOWLEDGEMENTS.md * Revert go.mod changes and remove go1.11 tests
30 lines
1003 B
YAML
30 lines
1003 B
YAML
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
|