Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 8cb0f24

Browse files
committed
Update runtests.jl
1 parent 7842967 commit 8cb0f24

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/runtests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ using Test, Pkg, Random
77
ENV["GKSwstype"] = "100"
88

99
# environment settings
10+
isCI = "CI" keys(ENV)
1011
islinux = Sys.islinux()
11-
istravis = "TRAVIS" keys(ENV)
12-
datadir = joinpath(@__DIR__,"data")
13-
visualtests = !istravis || (istravis && islinux)
14-
if !istravis
12+
visualtests = !isCI || (isCI && islinux)
13+
if !isCI
1514
Pkg.add("Gtk")
1615
using Gtk
1716
end
17+
datadir = joinpath(@__DIR__,"data")
1818

1919
# list of tests
2020
testfiles = [

0 commit comments

Comments
 (0)