forked from cs50/libcs50
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 862 Bytes
/
.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
dist: trusty
sudo: required
branches:
except: "/^v\\d/"
env:
matrix:
- DIST=precise DIST_VERSION=12.04
- DIST=trusty DIST_VERSION=14.04
- DIST=vivid DIST_VERSION=15.04
- DIST=xenial DIST_VERSION=16.04
- DIST=zesty DIST_VERSION=17.04
before_install:
- sudo apt-get install build-essential debhelper devscripts dh-make lintian
- gem install asciidoctor
install: true
script: if [ "$TRAVIS_BRANCH" != "master" ]; then SIGNING_OPTS="-uc -us" make deb; fi
before_deploy:
- echo -e $GPG_SECRET | gpg --import
- make deb
deploy:
provider: script
script: dput ppa:cs50/ppa build/deb/*.changes
skip_cleanup: true
on:
branch: master
notifications:
slack:
secure: ISOGlNSGXOrMBrKTnjTWQXVjjoBn78++xF1mUv/PYZxn3J4L4WpybLLjAuBENsD7YeHSaXUnSbIV5mDzlx5Q1cyrS+auGOHqi5xGV01zNBB1Fig1SkUf7zJS8KyjiPKyi+DexnTt1BY4xaA1uGzq9hoGZEPXKHNlz4v1I6f6fHQ=