Skip to content

Instantly share code, notes, and snippets.

@AndriiTsok
Last active November 1, 2015 09:29
Show Gist options
  • Save AndriiTsok/295c56bdb265cc2efb0b to your computer and use it in GitHub Desktop.
Save AndriiTsok/295c56bdb265cc2efb0b to your computer and use it in GitHub Desktop.
Travis-CI build configuration for asp.net 5 project
language: CSharp
mono:
- latest
install:
- curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh
- dnvm upgrade
- dnu restore
script:
- dnx -p ./test/[testProjectName]/project.json test -parallel none
@AndriiTsok
Copy link
Author

Run xUnit tests in current directory

dnx test

Run xUnit tests if tests are not in the current directory

dnx -p path/to/project test

//todo write explanation for configuration file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment