-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (32 loc) · 1.56 KB
/
Copy path.travis.yml
File metadata and controls
39 lines (32 loc) · 1.56 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
dist: xenial
sudo: required
dist: trusty
language: c
before_install:
# update package list
- sudo apt-get update -qq
install:
# install packages needed for mk-build-deps
- sudo apt-get install -qq --no-install-recommends devscripts equivs
# pull build deps from debian/control
- sudo mk-build-deps -ir -t "apt-get --yes --no-install-recommends"
# remove packages needed for mk-build-deps
- sudo apt-get purge -qq equivs
- sudo apt-get autoremove -qq
script:
# build the debian package
- dpkg-buildpackage -uc -us
after_script:
# run lintian after build
- sudo apt-get install -qq --no-install-recommends lintian
- lintian --info --display-info --display-experimental --pedantic --show-overrides ../*.deb && lintian --info --display-info --display-experimental --pedantic --show-overrides ../*.dsc
env:
global:
# travis encrypt -r waja/custom-motd GITHUBTOKEN=XXXXXX (https://help.github.com/articles/creating-an-access-token-for-command-line-use / http://docs.travis-ci.com/user/encryption-keys/)
secure: "f4NFkmbxsDleg6Exj0I7KZtO+hePi2P59fkx5/YJsSiGTgaEexSQUkKi+6QBpWSXPM7EpRScDmCIBFS96fT5k4Us2goNEUB6vVIdvP236Sd5DIogP1bxbuf62Zh4Zw2c49Eb+7gIQQFmAz9PDuMKT/Jx1JqKSaF1sRUYT7gQijs="
after_success:
- mkdir -p debian/build/release/
- for FILE in $(dcmd ../*.changes); do cp ../$(basename $FILE) debian/build/release/; done
- debian/bin/github-release.sh "$TRAVIS_REPO_SLUG" "debian/`head -1 debian/changelog | awk -F'[()]' '{print $2}' | awk -F'+' '{print $1}'`" debian/build/release/*
#notifications:
# email: false