-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (40 loc) · 998 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Only build tags
if: tag IS present
language: c
os:
- linux
matrix:
include:
- dist: xenial
- dist: focal
cache: apt
addons:
# artifacts:
# debug: true
apt:
packages:
- python3-stdeb
- fakeroot
- python3-all-dev
- libsystemd-dev
- dput
#- gpg
script: |
ver="$TRAVIS_TAG"
export BUILD_BUILDNUMBER="${ver:1}"
./build.sh
#cd deb_dist/
#echo "[my-ppa]" > ~/.dput.cf
#echo "fqdn = ppa.launchpad.net" >> ~/.dput.cf
#echo "method = sftp" >> ~/.dput.cf
#echo "incoming = ~andreantel/ubuntu/pysysdc/" >> ~/.dput.cf
#echo "login = andreantel" >> ~/.dput.cf
#echo "allow_unsigned_uploads = 0" >> ~/.dput.cf
#dput my-ppa *_source.changes
#deploy:
# - provider: launchpad
# slug: "~andreantel/pysysdc/+git/main"
# oauth_token: $LP_OAUTH_TOKEN
# oauth_token_secret: $LP_OAUTH_TOKEN_SECRET
# on:
# tags: true