forked from ARPA-SIMC/arkimaps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
23 lines (23 loc) · 815 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
language: generic
dist: bionic
sudo: required
services:
- docker
script:
- docker run -v ${TRAVIS_BUILD_DIR}:/root/src/ -w /root/src/ $DOCKER_IMAGE /bin/bash .travis-build.sh $DOCKER_IMAGE
env:
- DOCKER_IMAGE=centos:8
- DOCKER_IMAGE=fedora:34
- DOCKER_IMAGE=fedora:rawhide
matrix:
allow_failures:
- env: DOCKER_IMAGE=fedora:rawhide
before_deploy:
- openssl aes-256-cbc -K $encrypted_3efc8b0ffc6e_key -iv $encrypted_3efc8b0ffc6e_iv -in .copr.enc -out .copr -d
deploy:
skip_cleanup: true
provider: script
script: docker run -v ${TRAVIS_BUILD_DIR}:/root/src/ -w /root/src/ fedora:latest /bin/sh -c "dnf install -y copr-cli && copr-cli --config .copr build --chroot epel-8-x86_64 --chroot fedora-34-x86_64 --nowait simc/stable arkimaps.spec"
true:
branch: master
condition: $DOCKER_IMAGE = centos:8