From d6e91df208d7abcd8075296e241002ad4784833d Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sat, 8 Aug 2020 16:30:57 +0200 Subject: [PATCH] Updates to the travis script --- .travis.yml | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 873ded23..704d96d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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,10 +21,26 @@ install: - pip install pytest-cov - pip install pytest-qt - 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