forked from GraionDilach/OpenRA
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
75 lines (64 loc) · 2.07 KB
/
Copy path.travis.yml
File metadata and controls
75 lines (64 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Travis-CI Build for OpenRA
# see travis-ci.org for details
language: csharp
mono: 4.6.1
# http://docs.travis-ci.com/user/migrating-from-legacy
sudo: false
cache:
directories:
- thirdparty/download
addons:
apt:
packages:
- lua5.1
- nsis
- nsis-common
- dpkg
- markdown
- zlib1g-dev
- libbz2-dev
- cmake
- genisoimage
- fakeroot
# Environment variables
env:
# Fetch dependencies
# Run the build script
# Check source code with StyleCop
# call OpenRA to check for YAML errors
# Run the NUnit tests
script:
- travis_retry make all-dependencies
- make all SDK="-sdk:4.5"
- make check
- make check-scripts
- make test
- make nunit
# Automatically update the trait documentation and Lua API
after_success:
# - test $TRAVIS_PULL_REQUEST == "false" && cd packaging && ./update-wiki.sh $TRAVIS_BRANCH; cd ..
# Only watch the development branch and tagged release.
branches:
only:
- /^cd-release-.*$/
- cd
- /.*/ # Build everything.
# Notify developers when build passed/failed.
notifications:
before_deploy:
- export PATH=$PATH:$HOME/usr/bin
- DOTVERSION=`echo ${TRAVIS_TAG} | sed "s/-/\\./g"`
- cd packaging
- mkdir build
- ./package-all.sh ${TRAVIS_TAG} ${PWD}/build/
deploy:
provider: releases
api_key:
secure: r2rrEgFiaKVA6EQuQygD0rmN0hdIcg5dT4E2ycJ6G9Rh9YG8JTnF7NFLVqBZ6P9pXrPJT/d1+QgiZApWcET78why54YdT0nEoDU2aF+u0h02DjVnjTGnP6kYn3GHigj8LaAWfg/kxKJ3xajc48DHKUsHfXCWYg2fW0ZnO8Y4aEfRcO5xZg1c9W8XEyyhbmiNCjCmruZAPb6BaTI0ts1Dv76DFeAULSmagQp8w+GJAOco05yrayeLaCugbQvqEXu/IlmgOOCWzILgVywdNZlx8lxTDFqV9Zd3EMxl36LugfE67dsa2O5nyb7XaUwYjQyXUklOjzp3BccCtMBtnmyN42UeHF4wTcwYKhlM752pAm9AIF4sqnorsj7wlq9MZDQ2O46bWRQYpRuvvkeMhbcrbqngz7qzqFwXSg2kvFW6kItdxvSBcAQHCK1BkBAkiQ90Q0qJENgxmpzz1qiXH3T80+FLKFWAE+hx8Ao0CCOFpa+FC+RhYc9nrklyHIcoPIkvOHECTmyurDaVDholRpEY9ir8uxroYrTtsdMEGVmfvTsU08Jz6RkDuDYT56vM2XDDvt/cEEZboLNX2SFOe3RtvldoVeOx0TCIkrj+F4XNZfY93T6s9uwZyJXYCneprkm26UHGVVAPv5Em5ZsHMZk0OPHoTImVG5z/BrvfnrPGISA=
file:
- build/OpenRA-${TRAVIS_TAG}.zip
skip_cleanup: true
on:
all_branches: true
tags: true
repo: DoGyAUT/OpenRA