-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
69 lines (54 loc) · 1.78 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
os: linux
language: go
go:
- "1.15"
addons:
apt:
packages:
- flawfinder
- squashfs-tools
- uuid-dev
- libuuid1
- libffi-dev
- libssl-dev
- libssl1.0.0
- libarchive-dev
- libgpgme11-dev
- libseccomp-dev
homebrew:
packages:
- squashfs
update: true
sudo: required
jobs:
include:
- name: "3.8"
env: recipe=Singularity.py38 image=idi
before_install:
- sudo chmod u+x .travis/*.sh
- /bin/bash .travis/setupsingularity.sh
install:
- # override
script:
- sudo singularity build /tmp/$image $recipe &
- while [ -e /proc/$! ]; do echo -n "." && sleep 60; done
- echo "done"
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod
- $HOME/.singularity/cache
after_sucess:
- echo $SYLABS_TOKEN > sylabs-token
- singularity remote login --tokenfile sylabs-token
- singularity push -U /tmp/$image library://fzimmermann89/idi/$image
#deploy:
# provider: releases
# api_key:
# secure: LGZSz6q6Ve3kZp1FH2JNLqzby341NwIVmPjZUl09bB4E8XQn9qVc/nNy1rcTyiowkI676kmyOt/t+pX2DfpKQuJPS5JX66LfO+WIdCNrnnF/xPsaf2JhcozYaGOJXJ+SrUqZxCiQhdsxuY223SGhHEPwOtHAbxILlI51zsEPv4xNTV8a2jM/Vm8yuMl9x/p/kuMzTyEqAa3ivqoW0Hdc0dFFAQl+vFw0JOWoUbNuCRKZ3ST4jgtzuBPsAgOn/Fs2aH164Eg2OPLXLns5v3SZNygYYVbOlroklzBekTS79tlTQHR6g5yHJMmgkCdXAbaYcGf4fVmP01yxJ8f7OVbgf77IfxcqKN1xf258H7m7DYzHz3Y0jcBBHn3R9tNGMd15mZzndWFSoglGVdzly+/aqaZlUdSXFtji7bRKY/pwrXY0ylPX+oXCRS6foGxKJpwuTHk5n/1fF2WCL0pnYVnrR8gxgrlaV0Rhvu24Q1YkYT1VPhnP1SEL53pRtfk7QlhJoZEdoXm0krWa+H8ZDCbto5RIPulZt6I4c5kcUxOkeXL7Ni7JkejSRiA7DSAA/KZQUcevwWlnTQtpRPvJRcrLTHpITRR+IsvVxo/o8/hM21jOPKXygUCfkdr5ugr3l1xwyHBty43xN6ZI2I90KtFUGk6H/CO9SUrCu/2/tCPOzDE=
# skip_cleanup: true
# on:
# tags: true
# repo: fzimmermann89/idi
# file: ./*.sif
# file_glob: true