Skip to content

Commit

Permalink
Try fixing Appveyor and uploading unit tests (#801)
Browse files Browse the repository at this point in the history
Fixing Appveyor on master and uploading unit tests
  • Loading branch information
Patrick Snape committed Apr 19, 2017
1 parent 1bdd857 commit 0dfa9c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ init:
- cmd: python C:\\condaci.py setup

install:
- cmd: C:\\Miniconda\\python C:\\condaci.py build conda
- ps: $env:MINICONDA_DIR = python C:\\condaci.py miniconda_dir
- ps: $BUILD_CMD = "${env:MINICONDA_DIR}" + "\\python C:\\condaci.py build conda"; Invoke-Expression $BUILD_CMD

after_test:
- ps: $wc = New-Object 'System.Net.WebClient'; $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path C:\\menpo.xml))
3 changes: 2 additions & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ test:
- menpo

commands:
- nosetests menpo -v --with-coverage --cover-package=menpo
- nosetests menpo -v --with-coverage --cover-package=menpo --with-xunit --xunit-file=/tmp/menpo.xml --xunit-testsuite-name=menpo # [unix]
- nosetests menpo -v --with-coverage --cover-package=menpo --with-xunit --xunit-file=C:\\menpo.xml --xunit-testsuite-name=menpo # [win]

about:
home: https://github.com/menpo/menpo/
Expand Down

0 comments on commit 0dfa9c2

Please sign in to comment.