diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 24d52f80..00000000 --- a/.travis.yml +++ /dev/null @@ -1,44 +0,0 @@ -os: - - linux - - osx - -sudo: false -env: - global: - - MAKE="make -j 2" - -language: ruby -rvm: - - 2.3.8 - - 2.4.9 - - 2.5.7 - - 2.6.5 - - 2.7.2 - #- ruby-head - #- 3.0.0 - -install: gem install test-unit - -before_script: - - gem build ox.gemspec - - gem install ox-* - - cd ext/ox - - ruby extconf.rb && make clean all - - cd ../.. - -script: - - ./test/tests.rb - - ./test/sax/sax_test.rb - -matrix: - fast_finish: true - allow_failures: - # travis doesn't have this version on some macOSs - - rvm: 2.3.8 - os: osx - - rvm: 2.4.9 - os: osx - - rvm: 2.5.7 - os: osx - - rvm: 2.6.5 - os: osx diff --git a/README.md b/README.md index 2f6c252c..4c09c761 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Ox gem A fast XML parser and Object marshaller as a Ruby gem. -[![Build status](https://ci.appveyor.com/api/projects/status/pg2w4wspbrflbi8c?svg=true)](https://ci.appveyor.com/project/ohler55/ox) +[![Build Status](https://img.shields.io/github/workflow/status/ohler55/ox/CI?logo=github)](https://github.com/ohler55/ox/actions/workflows/CI.yml) ## Installation gem install ox diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index e48a767e..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,68 +0,0 @@ -# https://www.appveyor.com/docs/lang/ruby/ - -version: '{branch}-{build}' -skip_tags: true - -image: - - Ubuntu - - macOS - #- Visual Studio 2019 - -cache: - - vendor/bundle - -platform: - - x86 - -environment: - - # RUBY_VERSION is set to match what is expected for windows but that - # fails for Ubuntu and macOS so a second variable ise used to - # specify the rvm version. - matrix: - - RUBY_VERSION: 30-x64 - RVM_NAME: ruby-3 - - RUBY_VERSION: 27-x64 - RVM_NAME: ruby-2.7 - - RUBY_VERSION: 26-x64 - RVM_NAME: ruby-2.6 - - RUBY_VERSION: 25-x64 - RVM_NAME: ruby-2.5 - - RUBY_VERSION: 24-x64 - RVM_NAME: ruby-2.4 - -build: off -test: off - -matrix: - fast_finish: true - -install: - #- PATH: C:\Ruby%RUBY_VERSION%\DevKit\mingw\bin;C:\Ruby%RUBY_VERSION%\bin;C:\Ruby%RUBY_VERSION%\DevKit\bin;C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1;%PATH% - - sh: | - if [ $RUBY_VERSION == "30-x64" ] || [ $RUBY_VERSION == "27-x64" ]; - then - rvm get stable - rvm install $RVM_NAME - fi - - sh: rvm list - - sh: rvm reload - - sh: rvm use $RVM_NAME - -before_build: - #- env - - ruby -v - -build_script: - - cd $APPVEYOR_BUILD_FOLDER/ext/ox - - ruby extconf.rb - - make - -test_script: - - cd $APPVEYOR_BUILD_FOLDER/test - - ruby tests.rb - - ruby sax/sax_test.rb - -on_finish: - #- sh: export APPVEYOR_SSH_BLOCK=true - #- sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -