-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
28 lines (28 loc) · 1.61 KB
/
.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
language: cpp
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=ubuntu:xenial
before_deploy:
- openssl aes-256-cbc -K $encrypted_6d2e60986cdb_key -iv $encrypted_6d2e60986cdb_iv -in .copr.enc -out .copr -d
deploy:
- provider: script
skip_cleanup: true
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 --nowait --chroot epel-8-x86_64 --chroot fedora-34-x86_64 simc/stable fedora/SPECS/CRITERIA1D.spec"
on:
condition: $DOCKER_IMAGE = centos:8
- provider: releases
skip_cleanup: true
api_key:
secure: TXl1VjS/jHsCyNlbCzkbBAIY29pEM9k0TtwKiGOB6Ngbw60zAEZNSrBPa1lJeSeJ5UG+A8xD7mZnCKNCEDtdIQap7syETsjM269md5UDmwLluxFLLnaKSXh0UCyKoKEZw5/EFmN6ZUyrpHJmBZXZyIl91GSZHIDVomIm2OLsYZEqOl9IRCLKLaJ2Ou0SLkgkyYDcHihJ58VE2FA6GUXQkZR/wmiQVvGzAycZHUg+Kb3Zkm4F6JPrY+H6uqPPE7y3ROoM+B37HgTeXUMUvs5ZlabhDkmUEPf859DrFhC+ajo4o0Hntqfx248wr1ylCiVbMtEfqmTsLQMi05q/qRE1F8+aYvvPurqeqa+na0a1R9lZAaDETkgUPlEjrvnNok3uMA3LIElw8nDAfcZslH3R0cpVs6Jx8uq56JifTEvLl92D0P53DYdlVKkP4jrqNRLG9VSS69nURqIj0jqM1g9uDeNsSnzL2AXcLv3Mf6UphtF/9VZiViB6CB2yTJj7MOgjYCcmuNr2BfCEhOrcDx9k++Dib82I3IWGsMgyqE5hGNpnPXCwb1EntB6oLUwe9clgBSKgJ6YNgDnao4OYTyNq/Vqo8GgUy0G89SQ0MBEeC5Z4nI8uTRosdwm2gsFoYbpoUDrGvmYtpo00fgfSCBGiwwj01uXf7k52OBfwH+Lj8u8=
file_glob: true
file: '*AppImage*'
on:
tags: true
repo: ARPA-SIMC/CRITERIA1D
condition: ($DOCKER_IMAGE = ubuntu:xenial) && ($TRAVIS_TAG =~ v[0-9]+\.[0-9]+\.[0-9]+)