forked from OpenRA/OpenRA
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
75 lines (66 loc) · 1.79 KB
/
.travis.yml
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
75
# Travis-CI Build for OpenRA
# see travis-ci.org for details
dist: xenial
language: csharp
mono: 6.4.0
cache:
directories:
- thirdparty/download
addons:
apt:
packages:
- lua5.1
- dpkg
- markdown
- zlib1g-dev
- libbz2-dev
- cmake
- genisoimage
- fakeroot
- zsync
# 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
- 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:
- master
# Notify developers when build passed/failed.
notifications:
webhooks: http://attsup.swr-productions.com/travis-ci/travis-ci.php
#before_deploy:
# - wget http://mirrors.kernel.org/ubuntu/pool/universe/n/nsis/nsis-common_3.03-2_all.deb
# - wget http://mirrors.kernel.org/ubuntu/pool/universe/n/nsis/nsis_3.03-2_amd64.deb
# - sudo dpkg -i nsis-common_3.03-2_all.deb
# - sudo dpkg -i nsis_3.03-2_amd64.deb
# - makensis -VERSION
# - 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: "g/LU11f+mjqv+lj0sR1UliHwogXL4ofJUwoG5Dbqlvdf5UTLWytw/OWSCv8RGyuh10miyWeaoqHh1cn2C1IFhUEqN1sSeKKKOWOTvJ2FR5mzi9uH3d/MOBzG5icQ7Qh0fZ1YPz5RaJJhYu6bmfvA/1gD49GoaX2kxQL4J5cEBgg="
# file_glob: true
# file: build/*
# skip_cleanup: true
# on:
# all_branches: true
# tags: true
# repo: AttacqueSuperior/Engine