diff options
author | Luis Rascão <luis.rascao@gmail.com> | 2015-10-25 16:14:28 +0000 |
---|---|---|
committer | Luis Rascão <luis.rascao@gmail.com> | 2016-01-15 15:03:33 +0000 |
commit | 0bf08e4e34469144ae6f3297aae4a38b3bb2bd3c (patch) | |
tree | 13c1467bb7f754c25afec85fbb25775e0bc4e2bf /appveyor.yml | |
parent | 6f07a636d8f309caef7c68e576396ce3328075ea (diff) | |
download | rebar-0bf08e4e34469144ae6f3297aae4a38b3bb2bd3c.tar.gz |
Add support for Windows integration testing
Use retest feature/rebar-windows-ci branch that adds Windows
tests support, test setup callback and additional touch command.
For all tests copy rebar and rebar.cmd using retest setup callback.
Port OS specific commands used in tests to Erlang
(eg. touch, rm, cp, stat..).
rebar_ct: do away with grep command line invocation (which doesn't
exist in Windows) and use instead plain Erlang parsing.
Increase timeout for rgen1 test to 4 minutes, Windows Appveyor
can take longer than the previous 2 minutes.
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml index a13f3d6..59b9570 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,13 +1,24 @@ version: 2.6.1.{build} -branches: - only: - - master +clone_depth: 1 build_script: -- cmd: bootstrap.bat +- cmd: >- + bootstrap.bat + + set REBAR_EXTRA_DEPS=1 + + .\rebar get-deps + + copy rebar deps\retest + + copy rebar.cmd deps\retest + + cd deps\retest & .\rebar compile escriptize test_script: - cmd: >- rebar eunit - deps/retest/retest -l debug inttest + "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 + + cd deps\retest & retest -l debug -t 120000 ..\..\inttest artifacts: - path: rebar |