forked from jens-maus/yam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
81 lines (72 loc) · 4.37 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
76
77
78
79
80
81
sudo: required
dist: trusty
language: c
# send build/failure notifications only to a specific
# email address and only on a status change
notifications:
email:
recipients:
on_success: change
on_failure: change
# download and install our required cross compilers
install:
# Make sure we can install i386 packages as some adtools binaries
# requires i386 libraries being installed to work in the 64bit env
# of Travis
- sudo dpkg --add-architecture i386
- sudo apt-get -qq update || true
- sudo apt-get -qq install libc6:i386
# Install all adtools related stuff we need
- curl -L https://dl.bintray.com/jens-maus/adtools/adtools-utils.tar.bz2 | sudo tar xj -C /
- if [[ ${BUILD} =~ os3|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-m68k-amigaos.tar.bz2 | sudo tar xj -C / ; fi
- if [[ ${BUILD} =~ os4|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-ppc-amigaos.tar.bz2 | sudo tar xj -C / ; fi
- if [[ ${BUILD} =~ mos|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-ppc-morphos.tar.bz2 | sudo tar xj -C / ; fi
- if [[ ${BUILD} =~ aros-ppc|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-ppc-aros.tar.bz2 | sudo tar xj -C / ; fi
- if [[ ${BUILD} =~ aros-i386|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-i386-aros.tar.bz2 | sudo tar xj -C / ; fi
- if [[ ${BUILD} =~ aros-x86_64|release ]]; then curl -L https://dl.bintray.com/jens-maus/adtools/adtools-x86_64-aros.tar.bz2 | sudo tar xj -C / ; fi
# set the PATH variable to the directories the cross compilers are installed.
before_script:
- export PATH=/usr/local/amiga/bin:/opt/m68k-amigaos/bin:/opt/ppc-amigaos/bin:/opt/ppc-morphos/bin:${PATH}
# specify a list of variables to test (here we test the build for our supported
# list of operating systems).
env:
global:
- secure: "hE1ONE7h4DXu8nebEsXRmC9DzVThjNJlb70aRVuRecyfpO6K58BPMHv622ZMhKnyezbRdYe9cdQaKlYXuklTAo4tqdBAuko/7+M//J4vMeNQwMvHDMyaNhfu329cpzCvLUHSXJ3YiszEHypcxi3iyhHiG9OqbJMdIewlUYdnXTWyhkNE79jCetADTQD/s7mmMMBJrttuBHFoPCOXvVQrAWQMnDLfMOO3+Eku111VyTDH46A/skcKZOjZCslMjFaJtb6oQvPcdS48dumr9R36mLLaQQIznE2TelpnX83DYcXkuBxaevp9bF9KbY3JQ2YHDT3uXyX6/nvahfLlJf3Lkd2j38c4coDnbQNyrl5XYvD+gZWMhZzieN0XoyJG8P8Az06iRtd9usQdv/A4vtThZEGgQZrKb6oRzAzq9Jy7U0xdZer63Ol7rCDkoN6dk3FIfQuO4jTAtZaugskuCR8gDcVjzXgFjark7wlOut77rtOyBLgzdLvfegr0d3htkrGBN6Buim0dmvocNS5mCcSrJ97PbQxSyhJoucvujiwKU3+zB7LMcfo8nAmiXgfqEbT11X4oOyO3/cVK2yXUathLuv6bu+pqPIHnk13EXboRCGgyx1K/mOlGndPPIs98Lr2gU37H+WJdUktLkVFgQtOvnC/77VKVR72K7876s2J6wUA="
matrix:
- BUILD="OS=os4"
- BUILD="OS=os4 DEBUG="
- BUILD="OS=os3"
- BUILD="OS=os3 DEBUG="
- BUILD="OS=mos"
- BUILD="OS=mos DEBUG="
- BUILD="OS=aros-ppc"
- BUILD="OS=aros-ppc DEBUG="
- BUILD="OS=aros-i386"
- BUILD="OS=aros-i386 DEBUG="
- BUILD="OS=aros-x86_64"
- BUILD="OS=aros-x86_64 DEBUG="
- BUILD="release" OUTPUT=">/dev/null 2>/dev/null"
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt
addons:
coverity_scan:
project:
name: "jens-maus/yam"
description: "A MIME-compliant open-source Internet email client written for Amiga-based computer systems"
notification_email: [email protected]
build_command_prepend: ""
build_command: "make -j1 ${BUILD} ${OUTPUT}"
branch_pattern: master
# the build command to execute for each test
script:
- travis_wait 45 make -j1 ${BUILD} ${OUTPUT}
# deploy snapshots to bintray
#deploy:
# provide: bintray
# user: jens-maus
# on:
# branch: master
# condition: ${BUILD} =~ snapshot
# key:
# secure: bvgGEg+zjiMffttyeiYp393H9AaeJ1M/c5WCeXu+f4bZYvzDN1n8EydFrfogYxjV/khIWGtlZMGVItQTJPy7XfKKZhgakhBzpihkXBBKybRkKKyAUzrP+3P4a8A97I+7do+4L7Gj8iH/UNIumc7geiIqY+8cf8z9nOxc8SOZLO4brLlGYCPDjbQalPp74CHQjyCSZU+4r4YzYpqX/S98fAHU3e+EKuBOh8yQhJ20zTND5KKE6C4B+Kop5eoGv1D3d+qbI67YUitPqAPspFAJwOPVxyNR26Sztc6DUem81CW6BhZUKuZ1Jm2goS+nSKFF1Te2WfFWiqtxxdHJdoZNVc9y8yge7o/TUNv6DdF1DyHs0MjxffULrZiCF8l7UPIIhqulM+ZneJ64yoY6nqYgHpaiBjC6mpMPHqwYoy1v9iSa96qel+mlRYfnYy9Jj72ZvgdZNBviQYhRRMOX4LqqsFm+r4h38PPU9ZTAuCKYom2vjQ5zQ+DTvzWjCuWxOlxVPyYRPC0QRb1YOtaIuOPCQG0zpx669MK3H2AMmaTQIn0g2qZWfADf3b5rPywvST5dg4Z2NrPWEAC9xRBtRCn6I5wBep/UTquyeVE0SbP3KII8OejARHUue73ODuUJz8HsTfoJekWVQ5C+6aH5YaUgthnb9KfgFbEw7ptolV8y1DE=