forked from virtualcell/vcell
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
57 lines (54 loc) · 3.44 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
language: java
dist: bionic
services:
- docker
git:
depth: 2
branches:
only:
- master
- develop
- "/.*-[0-9]+\\..*/"
- /^v\d+\.\d+\.\d+$/
- plugin_solvers
before_install:
- wget https://vcell.org/webstart/pipeline_files/jdk-8u241-linux-x64.tar.gz
- wget https://vcell.org/webstart/pipeline_files/apache-maven-3.6.3-bin.tar.gz
- tar -xvzf jdk-8u241-linux-x64.tar.gz
- mv jdk1.8.0_241 jdk
- tar -xvzf apache-maven-3.6.3-bin.tar.gz
- mv apache-maven-3.6.3 maven
- export JAVA_HOME=`pwd`/jdk
- export PATH=${JAVA_HOME}/bin:${PATH}
- echo $JAVA_HOME
- java -version
- export M2_HOME=`pwd`/maven
- export PATH=${M2_HOME}/bin:${PATH}
install:
- mvn clean install dependency:copy-dependencies
jobs:
include:
- stage: Build Docker image
script: docker build --file `pwd`/docker/build/Dockerfile-vcell-cli --tag crbm/biosimulations_vcell:7.2 --tag crbm/biosimulations_vcell:latest .
- stage: Run the docker image
script:
- mkdir -p `pwd`/tests/results
- docker run -v `pwd`/tests/fixtures:/root/in -v `pwd`/tests/results:/root/out crbm/biosimulations_vcell:latest -i /root/in/BIOMD0000000297.omex -o /root/out
env:
global:
- secure: jAqBVHdsSAflWShXexe4OqX7zDJAtEJUGGuh1spGrb/FkPVmqpandJIPFDkR9bJlJUELZ7T3afa0XTI5YV45Yyw3whiVgkZ0w/c84kSQBbJjdk1EwP05i4tvNj2livNoMCDgj1JXqmBUQUzSWDxpJYaj7Z5Gom7ODG/SBJCf7z2yUsGkvYDMpEGCg5OK0wIPjCvuLMdSNqTPj3kocX9Xn0+rEQLDZDxUJhj4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XWgar1mBW6odxvwKxPnXaJri+oAfK8Jyar9NG8rKlefe0b1wO4RDeUnt2BjPakbo2soscVZDjmIvCo=
email:
- secure: m5n9pXMl7mdtHwTaf+ISar/J/KlJgCU5yXo9A+ea7MjqR1F544alp/Y1yz3dT8ttKcKb4HdtUu69sxMY22EN7rolHt164X8K1lWUxQKpXeywdsBg+Guh+yWZ6Qs6yxggquyI0EieqMAWQCLUM5tpuP7RB0mXKJy86fI9XEM4jeUy8RBEdFGJa2hhpnEgOpYN5EmgizMJn0YZI+Ads9i79CdQXlDpJExu+Vsh95ZP6cM+FQi8htgToIuG25WqNC9kAIbP14VDxh/61P8PzAW8ordOeD45E1R163z26wp4FsYK8aZ2bTQypiTsh4ijgQAbdNbEaSVRHjKFmMcIsscPqqWdrKbgz78rhnT+bI/cy2UqN+iG6si9Ev77RRsaGC1RhKqscwPVAUtgc48MhOFUYidBMA3m2VKwib550C507oroIncSVucx0L3DJDLREABkPGK+q4+0kmFj0siTwH0tNFqWQpcx1QUAc4bP4GShTvgnADr7cW4WjNHL86ABcEGlkNFJ21cHvxsOD9bbRdGdsc2TvDrlEwyGCMLPx3NJp4FbggLG/rl5+nXlqN1kPjLt4ni3cd6LkjAzQXv3xn/TN1t8RI8gR4gKjpjfUfhkQqyRrCIEyBZHBgQFG4Vd57+WIyBB+YPdhonGaT/2LI28wyfCfWrMuOLyHb/GQZFbwho=
notifications:
email:
- env.email.secure
on_success: never
on_failure: always
deploy:
- provider: script
skip_cleanup: true
script: .travis/build.sh
on:
tags: true
all_branches: true