-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
38 lines (38 loc) · 1.3 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
language: julia
sudo: required
os:
- linux
- osx
julia:
- 1.3
- nightly
matrix:
allow_failures:
- julia: nightly
notifications:
email: false
addons:
apt:
packages:
- xvfb
- xauth
- libgtk-3-dev
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- if [[ `uname` = "Linux" ]]; then TESTCMD="xvfb-run julia"; else TESTCMD="julia"; fi
- $TESTCMD -e 'using Pkg;
Pkg.add("Cairo");
Pkg.add("Gadfly");
Pkg.add(PackageSpec(url="https://github.com/jonathanBieler/GtkExtensions.jl.git", rev="master"));
Pkg.add(PackageSpec(url="https://github.com/jonathanBieler/JuliaWordsUtils.jl.git", rev="master"));
Pkg.add(PackageSpec(url="https://github.com/jonathanBieler/GtkTextUtils.jl.git", rev="master"));
Pkg.add(PackageSpec(url="https://github.com/jonathanBieler/RemoteGtkREPL.jl.git", rev="master"));
Pkg.add(PackageSpec(url="https://github.com/jonathanBieler/GtkREPL.jl.git", rev="master"));
Pkg.clone(pwd());
Pkg.build("GtkIDE");
Pkg.test("GtkIDE"; coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("GtkIDE"));
Pkg.add("Coverage");
using Coverage;
Coveralls.submit(Coveralls.process_folder())'