mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
96069e9573
* .travis.yml, appveyor.yml: use checked out headers for Unicode, to get rid of downloading data files from Unicode.org. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
---
|
|
shallow_clone: true
|
|
platform:
|
|
- x64
|
|
environment:
|
|
ruby_version: "23-%Platform%"
|
|
zlib_version: "1.2.11"
|
|
UNICODE_VERSION: "9.0.0"
|
|
UNICODE_URL_BASE: "http://www.unicode.org/Public/%UNICODE_VERSION%/ucd/"
|
|
matrix:
|
|
- vs: "120"
|
|
install:
|
|
- SET BITS=%Platform:x86=32%
|
|
- SET BITS=%BITS:x=%
|
|
- SET OPENSSL_DIR=c:\OpenSSL-Win%BITS%
|
|
- CALL SET vcvars=%%^VS%VS%COMNTOOLS^%%..\..\VC\vcvarsall.bat
|
|
- SET vcvars
|
|
- '"%vcvars%" %Platform:x64=amd64%'
|
|
- SET ruby_path=C:\Ruby%ruby_version:-x86=%
|
|
- SET PATH=\usr\local\bin;%ruby_path%\bin;%ruby_path%\Devkit\mingw\bin;%PATH%;C:\msys64\usr\bin
|
|
- ruby --version
|
|
- 'cl'
|
|
- SET
|
|
- mkdir \usr\local\bin
|
|
- mkdir \usr\local\include
|
|
- mkdir \usr\local\lib
|
|
- set UNICODE_DATA_DIR=enc\unicode\data\%UNICODE_VERSION%\
|
|
- mkdir %UNICODE_DATA_DIR%
|
|
- appveyor DownloadFile https://downloads.sourceforge.net/project/libpng/zlib/%zlib_version%/zlib%zlib_version:.=%.zip
|
|
- 7z x -o%APPVEYOR_BUILD_FOLDER%\ext\zlib zlib%zlib_version:.=%.zip
|
|
- for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
|
|
build_script:
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- mkdir %Platform%-mswin_%vs%
|
|
- cd %Platform%-mswin_%vs%
|
|
- ..\win32\configure.bat --without-ext=+,dbm,gdbm,readline --with-opt-dir=/usr/local --with-openssl-dir=%OPENSSL_DIR:\=/%
|
|
- nmake -t .unicode-tables.time
|
|
- nmake -l up
|
|
- nmake -l
|
|
- nmake install-nodoc
|
|
test_script:
|
|
- nmake -l "TESTOPTS=-v -q" btest
|
|
- nmake -l "TESTOPTS=-v -q" test-basic
|
|
matrix:
|
|
fast_finish: true
|