Skip to content

Commit

Permalink
CI updates (#192)
Browse files Browse the repository at this point in the history
- Simplify Travis config by using `xvfb` service.
- Enable Arm64 and Windows on Travis, but allow failures since they're flaky.
  - Once they're working, AppVeyor and Drone CI can be replaced.
- Allow Cirrus CI failures since it needs `xvfb` setup.
  • Loading branch information
jayschwa authored Nov 29, 2019
1 parent a4fec77 commit d8a6629
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ task:
matrix:
- JULIA_VERSION: 1.3
- JULIA_VERSION: nightly
allow_failures: $JULIA_VERSION == "nightly"
allow_failures: true # $JULIA_VERSION == "nightly"
install_script:
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"
build_script:
Expand Down
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
arch:
- amd64
- arm64
language: julia
julia:
- 1.3
- nightly
matrix:
allow_failures:
- arch: arm64
- julia: nightly
- os: windows
notifications:
email: false
os:
- linux
- osx
dist: trusty
sudo: false
addons:
apt:
packages:
- xorg-dev
before_script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; fi
- windows
dist: bionic
services:
- xvfb
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using GLFW, Test

println(GLFW.GetVersionString())

# GLFWError uses enum for known error code
@test isa(GLFW.GLFWError(GLFW.NOT_INITIALIZED, "").code, GLFW.ErrorCode)
@test GLFW.GLFWError(0x00010001, "").code == GLFW.NOT_INITIALIZED
Expand Down

0 comments on commit d8a6629

Please sign in to comment.