Skip to content

Commit 779b23c

Browse files
committed
Add Travis test script
1 parent 03e91b4 commit 779b23c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: cpp
2+
compiler:
3+
- clang
4+
notifications:
5+
email: false
6+
env:
7+
- JULIAVERSION="juliareleases"
8+
- JULIAVERSION="julianightlies"
9+
before_install:
10+
- sudo add-apt-repository ppa:staticfloat/julia-deps -y
11+
- sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y
12+
- sudo apt-get update -qq -y
13+
- sudo apt-get install libpcre3-dev julia -y
14+
- git config --global user.name "Travis User"
15+
- git config --global user.email "[email protected]"
16+
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
17+
script:
18+
- julia -e 'Pkg.init(); Pkg.clone(pwd())'
19+
- julia -e 'Pkg.test("Combinatorics", coverage=true)'
20+
after_success:
21+
- julia -e 'cd(Pkg.dir("Combinatorics")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
22+

0 commit comments

Comments
 (0)