2016-03-23 12:09:17 +00:00
|
|
|
language: csharp
|
|
|
|
solution: ArchiSteamFarm.sln
|
2016-03-23 12:26:03 +00:00
|
|
|
|
2017-01-16 02:21:11 +00:00
|
|
|
# We're fine building ASF in container-based environment
|
|
|
|
# Explicitly state that sudo is not needed, even if it's default option
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
# Default Travis container-based environment is currently Ubuntu 12.04
|
|
|
|
# It'd be best to build ASF on latest Linux OS available, but that's not possible
|
|
|
|
# Therefore, we build ASF on latest available OS, currently: Ubuntu 14.04
|
|
|
|
# Please bump me as new OSes arrive!
|
|
|
|
# https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
|
|
|
|
dist: trusty
|
|
|
|
|
2017-01-16 02:03:19 +00:00
|
|
|
# Save bandwidth by limiting git clone to only last 10 commits
|
2016-03-23 12:26:03 +00:00
|
|
|
git:
|
|
|
|
depth: 10
|
|
|
|
|
2017-01-06 12:29:53 +00:00
|
|
|
# Don't build other branches than master
|
2017-01-16 02:03:19 +00:00
|
|
|
# Sadly Travis doesn't support AppVeyor's "skip_branch_with_pr"
|
2017-01-06 12:29:53 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2017-01-16 02:03:19 +00:00
|
|
|
# We test ASF on latest stable and nightly versions of Mono
|
2016-03-23 12:09:17 +00:00
|
|
|
mono:
|
|
|
|
- weekly
|
2017-01-16 02:03:19 +00:00
|
|
|
# - alpha
|
|
|
|
# - beta
|
2016-03-23 12:26:03 +00:00
|
|
|
- latest
|
2016-04-20 23:02:07 +00:00
|
|
|
|
2017-01-16 02:03:19 +00:00
|
|
|
# Mono is often broken, we might need to enable/disable following setting on as-needed basis
|
|
|
|
#matrix:
|
|
|
|
# fast_finish: true
|
|
|
|
# allow_failures:
|
|
|
|
# - mono: weekly
|
|
|
|
# - mono: alpha
|
|
|
|
# - mono: beta
|
|
|
|
# - mono: latest
|
2016-08-27 07:34:08 +00:00
|
|
|
|
2017-01-06 12:29:53 +00:00
|
|
|
# Initialize our envsetup before building
|
2016-08-27 08:02:05 +00:00
|
|
|
before_script:
|
|
|
|
- source mono_envsetup.sh
|
2016-08-03 01:20:42 +00:00
|
|
|
|
2017-01-06 12:29:53 +00:00
|
|
|
# Push building notifications on Gitter
|
2016-04-20 23:02:07 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2016-06-10 19:45:51 +00:00
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/df82484f12510c3f2516
|
|
|
|
on_success: always # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
|
|
|
on_start: never # options: [always|never|change] default: always
|