-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
22 lines (22 loc) · 1.05 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
os: linux
dist: bionic
language: python
python: 3.8
install: pip install flake8
jobs:
include:
- script: cat tests/badLevels.csv | ./filterCSV check repairsubtree # Test the ability to repair a file
- script: cat tests/test1.csv | ./filterCSV '^A1$' '3 note' # Basic colouring and noting test
- script: cat tests/test2.md | ./filterCSV # Test of Markdown list import
- script: cat tests/mdTest3.csv | ./filterCSV markdown '2 3' # Test of Markdown export
- script: cat tests/mdTest3.csv | ./filterCSV xml freemind # Test of Freemind XML export
- script: cat tests/test1.csv | ./filterCSV 'A2A|X' 'keep' # Test of 'keep' - with two surviving trees
# - script: cat tests/promotion.csv | ./filterCSV promote 2 # Test of promote
- script: pydoc ./filterCSV.py
before_script:
- flake8 . --max-complexity=76 --max-line-length=88 --show-source --statistics
- # ln -s filterCSV filterCSV.py
- ls -la ; ls -la tests
- pytest --doctest-modules
notifications:
email: false