File tree 7 files changed +29
-4
lines changed
7 files changed +29
-4
lines changed Original file line number Diff line number Diff line change
1
+ language : python # this works for Linux but is an error on macOS or Windows
2
+ matrix :
3
+ include :
4
+ - name : " Python 3.7.1 on Xenial Linux"
5
+ python : 3.7 # this works for Linux but is ignored on macOS or Windows
6
+ dist : xenial # required for Python >= 3.7
7
+ script : bash run_tests.sh
8
+ - name : " Python 3.7.3 on Windows "
9
+ os : windows # Windows 10.0.17134 N/A Build 17134
10
+ language : shell # 'language: python' is an error on Travis CI Windows
11
+ before_install :
12
+ - choco install python3
13
+ - pip install virtualenv
14
+ - virtualenv $HOME/venv
15
+ - source $HOME/venv/Scripts/activate
16
+ - pip install -r requirements.txt
17
+ env : PATH=/c/Python37:/c/Python37/Scripts:$PATH
18
+ script : nose2 tests --plugin nose2.plugins.junitxml --config myconfig.cfg
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ The MIT License (MIT)
19
19
20
20
** Package Download**
21
21
https://pypi.python.org/pypi/object-mapper
22
+
23
+ ** Build Status**
24
+ [ ![ Build Status] ( https://travis-ci.com/marazt/object-mapper.svg?branch=master )] ( https://travis-ci.com/marazt/object-mapper )
25
+
22
26
---
23
27
24
28
## Versions
Original file line number Diff line number Diff line change
1
+ [junit-xml]
2
+ always-on = True
3
+ path = TEST-results.xml
Original file line number Diff line number Diff line change 1
- datetime
2
- nose
1
+ nose2 == 0.9.1
Original file line number Diff line number Diff line change 1
1
REM prerequisites: pip, virtualenv in path
2
2
virtualenv venv
3
3
cd venv/Scripts/
4
- activate.bat & cd ../.. & pip install -r requirements.txt & nosetests tests --with-xunit --xunit-file=TEST-results.xml
4
+ activate.bat & cd ../.. & pip install -r requirements.txt & nose2 tests --plugin nose2.plugins.junitxml --config myconfig.cfg
Original file line number Diff line number Diff line change 1
1
#! bin/bash
2
2
# prerequisites: pip, virtualenv in path
3
+ pip install virtualenv
3
4
virtualenv venv
4
5
source venv/bin/activate
5
6
pip install -r requirements.txt
6
- nosetests tests --with-xunit --xunit-file=TEST-results.xml
7
+ nose2 tests --plugin nose2.plugins.junitxml --config myconfig.cfg
File renamed without changes.
You can’t perform that action at this time.
0 commit comments