forked from stschiff/sequenceTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (23 loc) · 664 Bytes
/
.travis.yml
File metadata and controls
28 lines (23 loc) · 664 Bytes
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
sudo: required
language: c
services:
- docker
jobs:
include:
- name: "Static artifact"
if: tag IS present
before_script:
- docker build --tag linux -f Dockerfile.static-linux .
script:
- docker create --name linuxcontainer linux
- docker cp linuxcontainer:/sequencetools_dist sequenceTools_x86_64-linux
- cp LICENSE sequenceTools_x86_64-linux
- tar -cvzf sequencetools_static.x86_64-linux.tar.gz sequenceTools_x86_64-linux
deploy:
provider: releases
skip_cleanup: true
api_key: $GITHUB_TOKEN
repo: sequencetoolsconda/sequenceTools
file: "sequencetools_static.x86_64-linux.tar.gz"
on:
tags: true