forked from KSP-CKAN/CKAN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (43 loc) · 1.65 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
language: csharp
# These commands simulate having a graphical display, which is needed
# for our GUI tests.
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- sudo apt-get install mono-devel mono-gmcs nunit-console libtest-most-perl libipc-system-simple-perl
- mozroots --import --ask-remove
script:
- ./t/test-sln.sh # Avoid VS Accidentally changing the project formatting
- bin/build
- nunit-console --exclude=FlakyNetwork build/Tests/bin/Debug/Tests.dll
- prove # Run all the tests in t/
deploy:
provider: releases
api_key:
secure: AjwbRLStNJZb9hAOLfRLK85KlFo2q2Dr1NKCoDS4elek1nqSiOjL1hH0kDgUMx/PJqQVnFU8tbJPL30t9Pj7jcJhp0LhbbPipQE3TCSpafTneSEbdz5HT+OdghWCZhUhfs07wGNTFUwcAO4WBZ7wv1AnfdfogHdA5RMdykiIl38=
file:
- ckan.exe
- netkan.exe
on:
repo: KSP-CKAN/CKAN
tags: true
# all_branches needed as a workaround for travis-ci#1675
all_branches: true
# Any merge to master gets sent to
# http://ckan-travis.s3-website-us-east-1.amazonaws.com/
#
# At least, they used to... Travis seems grumpy if we have
# more than one deploy stanza, and we want releases more.
#
# - provider: s3
# access_key_id: AKIAI5JWAEFPFK6GH3XA
# secret_access_key:
# secure: b0PPlD7auqysK2LHA8N1US03dE/VKH2rOTwIqpIh50l/gURuXEl7Nd8S7qlf2dpEmz+8D5pIWD+J9scfrdD8Uuakhi3sQbqcV26UiR6+Ye06eGQfmIzqzAECt2naqEy7VJ/xrqq5aaaf8QhcOQMba3qVvwDSzkB2fJeh7+D6EY8=
# bucket: ckan-travis
# local-dir: uploads
# acl: public_read
# skip_cleanup: true
# on:
# repo: KSP-CKAN/CKAN
# all_branches: true