Updates to the travis script

This commit is contained in:
Veronica K. B. Olsen
2020-08-08 16:30:57 +02:00
parent e927f88121
commit d6e91df208
+18 -4
View File
@@ -4,16 +4,14 @@ services:
- xvfb
language: python
cache: bundler
addons:
apt:
packages:
- libenchant-dev
- python3-pyqt5
- python3-pyqt5.qtsvg
python:
- "3.6"
- "3.7"
- "3.8"
install:
- pip install --upgrade pip
- pip install -r requirements.txt
@@ -23,6 +21,16 @@ install:
- pip install pytest-cov
- pip install pytest-qt
- pip install codecov
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:
@@ -30,3 +38,9 @@ after_success:
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