ArchiSteamFarm/.travis.yml

57 lines
1.8 KiB
YAML
Raw Normal View History

2017-03-13 01:29:02 +00:00
# ASF is a C# project with solution named ArchiSteamFarm.sln
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: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
# 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"
branches:
only:
2017-03-13 01:33:40 +00:00
- master
2016-04-20 23:02:07 +00:00
2017-03-13 01:29:02 +00:00
# This is our main build matrix
2017-01-16 23:29:47 +00:00
matrix:
2017-03-13 01:33:40 +00:00
# We can use fast finish, as we don't need to wait for all builds to mark it as failed/passed
2017-01-16 23:29:47 +00:00
fast_finish: true
allow_failures:
2017-03-13 01:29:02 +00:00
# Mono is often broken, we might need to enable/disable allowing failures on as-needed basis
# Currently we allow all Mono builds to fail, as it has serious problems, such as random SIGABRTs
# This is decent because it allows us to track Mono builds and fix ASF if needed, while not going crazy over false alarms
# Ref: https://travis-ci.org/JustArchi/ArchiSteamFarm/jobs/192428388#L2007-L2009
2017-03-13 01:33:40 +00:00
- os: linux
- os: osx
2017-03-13 01:29:02 +00:00
include:
# We're building ASF with Mono on latest versions of Linux and OS X
# Ref: https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
- os: linux
dist: trusty
sudo: false
2017-03-13 01:48:18 +00:00
mono: weekly
- os: linux
dist: trusty
sudo: false
mono: latest
- os: osx
2017-04-03 02:16:53 +00:00
osx_image: xcode8.3
2017-03-13 01:48:18 +00:00
mono: weekly
2017-03-13 01:29:02 +00:00
- os: osx
2017-04-03 02:16:53 +00:00
osx_image: xcode8.3
2017-03-13 01:48:18 +00:00
mono: latest
2017-03-13 01:29:02 +00:00
# Initialize our envsetup before building, we're adding some extra environment properties there
before_script:
- source mono_envsetup.sh
# Push building notifications on Gitter
2016-04-20 23:02:07 +00:00
notifications:
email: false
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