can't support .net(windows),if use windows you can choose appveyor
使用步骤
1. add .travel.yml
2. to travel.io to make a project enable
3. copy the status image to README.md
example
language: csharp
sudo: required
dist: trusty
env:
- CLI_VERSION=latest
addons:
apt:
packages:
- gettext
- libcur14-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
os:
- linux
- osx
branches:
only:
- master
install:
- export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
- curl -sSL -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR"
- export PATH="$DOTNET_INSTALL_DIR:$PATH"
script:
- ./build.sh