-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
21 lines (21 loc) · 1.21 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: bash
if: tag IS present
services:
- docker
before_install:
- docker build -t tabit/qwt .
script:
- docker run -v $(pwd):/src -v ${TRAVIS_BUILD_DIR}:/build/noarch -it tabit/qwt sh -c "cp -fr /src/* ./ || true && make sources && rpmbuild -bb --define '_sourcedir /build' --define '_rpmdir /build' *.spec"
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: DbDusCnzkapqK9f6gI1I3ThdSrzkumiuTX3SqsjxqZbdhWUlbj0Jew+Cs8dkBfpEHCEdZBvvTqKJWO1jpA3wP9hoS4RdRrTZeaPH01eO2mcLxs1I2jCCImTOsTG8xa7hrTMlYiO5ExBkAJMKd1tJmAw7Blt/RSn6V3rTe3Ur4RznFKHg7IWoezmrEh2z9Y7+0zdyA/Ktq4sTpZIqkl4+E9fn36AQEhiPThRmTKNb5EkGNfDILY/Q4CCKqMdDPJRpPey+GyGoYAwLWlRhuHP8u0eAUC0A0dCqhDYfCpHzCbqqEiikKAduLl3TeeyT908G9UBWhPqp/dnvPBUH1nSPzqcClNRiUfqHfHhjVZFlSTXsavpk8N910y9fqaSmgCRHT3IhptxF2JcQ8numh9lucK9EjXfL/Zo99neVANbRnr+aJqrwnbmu6j47Wr2TKAgFFlh/rFsjLovOA84Brl3hwGnkWRJ/e7TL3sn0hsqMGJ90pRgIytyFz9NqBcLTuob3wY1eV1HKH0/vV3mpFt7ObpwR+MlSy5xsxsFZADTKcQ9Ksc9nVZjYZDAn+mJ5eOo72mU1gnxpRnCn9IF7/ZYE95QAAx9TZEdlbBRxUXG9HU3FMYJkfvt4O3fSvd4JJwrTb6s+KKn6HefcgxemG7TINQKtOAVj6DMmu/36lYKi6gE=
file_glob: true
file:
- ${TRAVIS_BUILD_DIR}/*.msi
- ${TRAVIS_BUILD_DIR}/*.rpm
on:
all_branches: true
tags: true
repo: tabit-pro/qwt-crossbuild