Skip to content

Commit 5b182a0

Browse files
committed
First pass at travis spec
1 parent bea90c5 commit 5b182a0

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.travis.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
language: c
2+
3+
before_install:
4+
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
5+
- chmod 755 ./travis-tool.sh
6+
- ./travis-tool.sh bootstrap
7+
install:
8+
# Install binary pandoc from Rstudio
9+
- export PATH="$HOME/pandoc:$PATH"
10+
- mkdir $HOME/pandoc
11+
- curl -O https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.12.3.zip
12+
- unzip -j pandoc-1.12.3.zip pandoc-1.12.3/linux/debian/x86_64/pandoc
13+
-d $HOME/pandoc
14+
- chmod +x $HOME/pandoc/pandoc
15+
- pandoc --version
16+
17+
- ./travis-tool.sh r_binary_install knitr
18+
- ./travis-tool.sh r_binary_install yaml
19+
- ./travis-tool.sh install_deps
20+
21+
script: ./travis-tool.sh run_tests
22+
23+
on_failure:
24+
- ./travis-tool.sh dump_logs
25+
26+
branches:
27+
except:
28+
- /-expt$/
29+
30+
notifications:
31+
email:
32+
on_success: change
33+
on_failure: change
34+

0 commit comments

Comments
 (0)