Updates to the travis script
This commit is contained in:
+24
-10
@@ -4,16 +4,14 @@ services:
|
|||||||
- xvfb
|
- xvfb
|
||||||
language: python
|
language: python
|
||||||
cache: bundler
|
cache: bundler
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- libenchant-dev
|
- libenchant-dev
|
||||||
- python3-pyqt5
|
- python3-pyqt5
|
||||||
- python3-pyqt5.qtsvg
|
- python3-pyqt5.qtsvg
|
||||||
python:
|
|
||||||
- "3.6"
|
|
||||||
- "3.7"
|
|
||||||
- "3.8"
|
|
||||||
install:
|
install:
|
||||||
- pip install --upgrade pip
|
- pip install --upgrade pip
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
@@ -23,10 +21,26 @@ install:
|
|||||||
- pip install pytest-cov
|
- pip install pytest-cov
|
||||||
- pip install pytest-qt
|
- pip install pytest-qt
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
script:
|
|
||||||
- python -m pytest --cov=nw -m "project|core|gui" -v
|
|
||||||
after_success:
|
|
||||||
- codecov
|
|
||||||
after_failure:
|
|
||||||
- cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes
|
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- name: Initial
|
||||||
|
- name: Full
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
- stage: Initial
|
||||||
|
python:
|
||||||
|
- 3.8
|
||||||
|
script:
|
||||||
|
- python -m pytest --cov=nw -m "project|core|gui" -v
|
||||||
|
after_success:
|
||||||
|
- codecov
|
||||||
|
after_failure:
|
||||||
|
- cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes
|
||||||
|
|
||||||
|
- stage: Full
|
||||||
|
python:
|
||||||
|
- 3.6
|
||||||
|
- 3.7
|
||||||
|
script:
|
||||||
|
- python -m pytest --cov=nw -m "project|core|gui" -v
|
||||||
|
|||||||
Reference in New Issue
Block a user