forked from greenelab/continuous_analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
39 lines (35 loc) · 1.3 KB
/
wercker.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
box: brettbj/continuous_analysis_base
build:
steps:
- script:
name: Run Tests + Coverage
code: |
nose2 --plugin nose2.plugins.junitxml --junit-xml test
mv nose2-junit.xml wercker/tests.xml
coverage run --branch test.py
coverage xml -o wercker/coverage.xml test.py
- script:
name: Run Kallisto
code: |
cd /kallisto/test
kallisto index -i transcripts.idx transcripts.fasta.gz &>-
kallisto quant -i transcripts.idx -o output -b 100 reads_1.fastq.gz reads_2.fastq.gz &>-
cp -R /kallisto/test/output /pipeline/source/wercker/output
- script:
name: Plot Results
code: |
cd /pipeline/source
jupyter nbconvert --to html --execute ./Wercker_Plotting.ipynb
- script:
name: Push Results back to github
code: |
git config user.email "[email protected]"
git config user.name "Alex Whan"
git config --global push.default simple
git remote set-url origin https://alexwhan:[email protected]/alexwhan/continuous_analysis.git
git checkout master
git pull
git add wercker/.
git commit -a -m "Wercker output [CI SKIP] [SKIP CI] ."
git stash
git push