Skip to content

Commit

Permalink
test if CI passes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
musm committed Apr 28, 2021
1 parent 701b0d6 commit 141a310
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ import GLFW
using ModernGL
include("util.jl")

function is_ci()
lowercase(get(ENV, "TRAVIS", "")) == "true" || lowercase(get(ENV, "APPVEYOR", "")) == "true" || lowercase(get(ENV, "CI", "")) == "true"
end
is_ci() = lowercase(get(ENV, "CI", "")) == "true"

if !is_ci() # only do test if not CI... this is for automated testing environments which fail for OpenGL stuff, but I'd like to test if at least including works
if true # only do test if not CI... this is for automated testing environments which fail for OpenGL stuff, but I'd like to test if at least including works

GLFW.Init()
# OS X-specific GLFW hints to initialize the correct version of OpenGL
Expand Down

0 comments on commit 141a310

Please sign in to comment.