diff options
| author | Tom Black <[email protected]> | 2018-05-06 16:13:37 -0700 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2018-05-06 17:36:48 -0700 |
| commit | 3a7f63f64159b21f4ec5c4e64aa36eafcacf567f (patch) | |
| tree | b4a6e5d0c009ba189c02357ed3e6fd0ff83f2d4c | |
| parent | 341ca5b71287ba9e6a1f2fa0065396bb997dc685 (diff) | |
| download | ruby2d-3a7f63f64159b21f4ec5c4e64aa36eafcacf567f.tar.gz ruby2d-3a7f63f64159b21f4ec5c4e64aa36eafcacf567f.zip | |
Update CI
Also adds native and web build test
| -rw-r--r-- | .travis.yml | 7 | ||||
| -rw-r--r-- | Rakefile | 2 | ||||
| -rw-r--r-- | appveyor.yml | 2 | ||||
| -rwxr-xr-x | bin/ruby2d | 2 | ||||
| -rw-r--r-- | test/ci-build.rb | 1 |
5 files changed, 8 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index ae3603e..e441480 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,13 @@ os: osx -osx_image: xcode9.2 +osx_image: xcode9.3 language: ruby before_install: - sw_vers - brew update - brew tap simple2d/tap - - brew install simple2d + - brew install simple2d mruby script: - rake + - ruby2d build --native test/ci-build.rb + - ./build/app + - ruby2d build --web test/ci-build.rb @@ -1,5 +1,5 @@ require 'rspec/core/rake_task' -require './lib/ruby2d/version' +require_relative 'lib/ruby2d/version' # Helpers diff --git a/appveyor.yml b/appveyor.yml index f5ef121..b6cb64a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,5 @@ install: - - set PATH=C:\ruby24-x64\bin;C:\msys64\usr\bin;C:\msys64\usr\local\bin;%PATH% + - set PATH=C:\ruby25-x64\bin;C:\msys64\usr\bin;C:\msys64\usr\local\bin;%PATH% - set MSYSTEM=MINGW64 - bash --version - wget https://raw.githubusercontent.com/simple2d/simple2d/master/bin/simple2d.sh @@ -331,8 +331,6 @@ Choose an option with the #{"simulator".bold} command: --log <app> Stream log for the app only, given the app name --log-errors Stream log containing only error messages\n\n" -# puts ARGV.inspect - case ARGV[0] when 'build' if ARGV.delete '--debug' then @debug = true end diff --git a/test/ci-build.rb b/test/ci-build.rb new file mode 100644 index 0000000..443bf3e --- /dev/null +++ b/test/ci-build.rb @@ -0,0 +1 @@ +require 'ruby2d' |
