diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..2888d954e7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: cpp +sudo: required +dist: trusty +git: + submodules: false +before_install: + - git config --global url.git@github.com:.insteadOf https://github.com/ + - git submodule update --init --recursive -- src/libpsl-native src/monad src/windows-build test/Pester + - sudo sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list' + - sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893 + - sudo apt-get -qq update + - sudo apt-get install -y dotnet-nightly +script: + - dotnet restore + - ./build.sh + - ./pester.sh diff --git a/README.md b/README.md index 10b1a7072d..43ff3cda43 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ | |Ubuntu 14.04 |Windows | |---------|:------:|:------:| -|master| TODO |[![Build status](https://ci.appveyor.com/api/projects/status/wb0a0apbn4aiccp1/branch/master?svg=true)](https://ci.appveyor.com/project/PowerShell/powershell-linux/branch/master)| +|master|[![Build Status](https://travis-ci.com/PowerShell/PowerShell-Linux.svg?token=31YifM4jfyVpBmEGitCm&branch=master)](https://travis-ci.com/PowerShell/PowerShell-Linux)|[![Build status](https://ci.appveyor.com/api/projects/status/wb0a0apbn4aiccp1/branch/master?svg=true)](https://ci.appveyor.com/project/PowerShell/powershell-linux/branch/master)| ## Obtain the source code