forked from gtk-gnutella/gtk-gnutella
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (39 loc) · 1.46 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
sudo: false
language: c
os:
- osx
- linux
addons:
apt:
packages:
- libgnutls-dev
- libglib2.0-dev
- libgtk2.0-dev
cache:
directories:
- $HOME/gtk-gnutella
before_install:
- ./scripts/travis.$TRAVIS_OS_NAME.sh before_install
install:
- ./scripts/travis.$TRAVIS_OS_NAME.sh install
script:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export PATH=$PATH:~/.new_local/bin; JHB=gtk-gnutella ~/.new_local/bin/jhbuild run ./build.sh --target=osxbundle 2>&1 | tee build.log ;fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then curl -X PUT --user ${OBJECTSTORE_USER}:${OBJECTSTORE_SECRET} ${OBJECTSTORE_URL}build.log -T build.log ;fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then ./build.sh; fi
- src/lib/random-test
- src/lib/stack-test
- src/lib/sort-test
- src/lib/pattern-test
- src/lib/filelock-test -ce foo
- src/lib/filelock-test -cep foo
- src/lib/launch-test
- src/lib/spopen-test -p -r foo
# Removing -F as the fork() call seems to disrupt the inter-thread signals,
# messing-up with the file descriptor used to perform signalling?
# Not critical since gtk-gnutella is not using thread_fork() currently.
# --RAM, 2015-02-22
- src/lib/thread-test -ABCDEHIKMNOPQRSVWX -T1 -c2 -z player,test_signals
after_script:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then for f in ~/Desktop/*dmg; do curl -X PUT --user ${OBJECTSTORE_USER}:${OBJECTSTORE_SECRET} ${OBJECTSTORE_URL} -T $f ;done ;fi
notifications:
irc: "irc.libera.chat#gtk-gnutella"