Skip to content

Commit

Permalink
Publish to Bintray from Travis
Browse files Browse the repository at this point in the history
Bug: #32
  • Loading branch information
Jnchi committed May 10, 2019
1 parent 0c33fc6 commit 38e5b76
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 16 deletions.
27 changes: 27 additions & 0 deletions .bintray.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"package": {
"name": "libpam-aad",
"repo": "aad",
"subject": "jnchi"
},

"version": {
"name": "0.0.1",
"desc": "pre-release"
},
"licenses": ["GPL-3.0-or-later"],
"desc": "auto-generated debian package",
"files": [
{
"includePattern": "./(.[^/]*(\\.deb)$)",
"uploadPattern": "$1",
"matrixParams": {
"deb_distribution": "unstable",
"deb_component": "main",
"deb_architecture": "amd64"
}
}
],
"publish": true,
"override": true
}
37 changes: 21 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
language: c

sudo: required

services:
- docker

- docker
script:
- docker build . -t cyberninjas/pam_aad
- docker build . -t cyberninjas/pam_aad:ami -f Dockerfile.ami
- docker build . -t cyberninjas/pam_aad:ami-2018.03 -f Dockerfile.ami-2018.03
- docker build . -t cyberninjas/pam_aad:ubuntu-18.04 -f Dockerfile.ubuntu-18.04
- docker build test -t cyberninjas/pam_aad:testing
- docker build test -t cyberninjas/pam_aad:testing-ami -f test/Dockerfile.ami
- docker build test -t cyberninjas/pam_aad:testing-ami-2018.03 -f test/Dockerfile.ami-2018.03
- docker build test -t cyberninjas/pam_aad:testing-ubuntu-18.04 -f test/Dockerfile.ubuntu-18.04
- docker run cyberninjas/pam_aad:testing
- docker run cyberninjas/pam_aad:testing-ami
- docker run cyberninjas/pam_aad:testing-ami-2018.03
- docker run cyberninjas/pam_aad:testing-ubuntu-18.04
- docker build . -t cyberninjas/pam_aad
- docker build . -t cyberninjas/pam_aad:ami -f Dockerfile.ami
- docker build . -t cyberninjas/pam_aad:ami-2018.03 -f Dockerfile.ami-2018.03
- docker build . -t cyberninjas/pam_aad:ubuntu-18.04 -f Dockerfile.ubuntu-18.04
- docker build test -t cyberninjas/pam_aad:testing
- docker build test -t cyberninjas/pam_aad:testing-ami -f test/Dockerfile.ami
- docker build test -t cyberninjas/pam_aad:testing-ami-2018.03 -f test/Dockerfile.ami-2018.03
- docker build test -t cyberninjas/pam_aad:testing-ubuntu-18.04 -f test/Dockerfile.ubuntu-18.04
- docker run cyberninjas/pam_aad:testing
- docker run cyberninjas/pam_aad:testing-ami
- docker run cyberninjas/pam_aad:testing-ami-2018.03
- docker run cyberninjas/pam_aad:testing-ubuntu-18.04
- docker run -v $(pwd):/usr/src/pam_aad cyberninjas/pam_aad
deploy:
provider: bintray
file: .bintray.json
user: jnchi
key:
secure: FBvhZ56Cx593d0sTMF/D37RKN8b8IflfFRqZP7n5IHO023Kp/z2YN7C9dkCjdLcspKkIvnuBMb6fr3IjZR8WOBPvhpxxDrw03ezLFXYdIBHeu17U2UtAisUo14MHT22EJslat6OQN/QL4pkwgjv3XOJNAdixaD80q7TSpwbiVws8EhVUOtCLoAGr/5MebLkvF+XYoWHn5FSMfmXHicPPfk+zUDnTRpdCgaIIeTBCgOYKc3d3jKRUnZZkSyGEkGKer4EBW7HuZsIcp8MbJty/dsCXPU6Se264bbLXN1bTsaRI6MEkLbLJrswYIasSuHyAavOclRLDQeUkTf6bf7qr58D+yseewpTEDRhNWyH2sW9/ptLZ17lAPP5He6tdwZhXdsDxr9QhXNoyZ312hizg1WXF/1gVEuR7ruqjh1cEN0LpFeWTrlj7mwMR9+uuKLAW8CnxUJNFcJi2sNSfx2CepXnmuoJIhk75gC3WhXqhF+ctnxYCwYihIEyrubioPwZsHxbqi8WCSEiiHJ6s+3v93oJdSHmSrPu/K/vp+0hKnPBqEgAacA1VbiiSeEJDNRUVzuSDEaPM2XiSI8D/IMwWodV7rw0VGLt1uDD1tV2kE3JOBLyDO+A3eHZd3eZX2TXy+bzpV7KykwD4tw/1Gpg0CBXvgDEJvnkWPJbEvLXtMKM=
skip_cleanup: true

0 comments on commit 38e5b76

Please sign in to comment.