-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
33 lines (27 loc) · 875 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
24
25
26
27
28
29
30
31
32
33
sudo: required
language: c
services:
- docker
before_script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --tag $DOCKER_USERNAME/rnalien -f Dockerfile.dev .
script:
- docker create --name develcontainer $DOCKER_USERNAME/rnalien
- docker images
- mkdir RNAlien
- docker cp develcontainer:/RNAlien RNAlien
- docker cp develcontainer:/RNAlienStatistics RNAlien
- docker cp develcontainer:/cmsearchToBed RNAlien
- docker cp develcontainer:/RNAcentralHTTPRequest RNAlien
- docker cp develcontainer:/RNAlienScan RNAlien
- cp LICENSE RNAlien
- tar -cvzf RNAlien.tar.gz RNAlien
- docker push $DOCKER_USERNAME/rnalien
- docker run --rm $DOCKER_USERNAME/rnalien /RNAlien --help
deploy:
provider: releases
skip_cleanup: true
api_key: $GITHUB_TOKEN
file: "RNAlien.tar.gz"
on:
tags: true