Commit d7523071 authored by Markus Heiser's avatar Markus Heiser

travis: use build environment from Makefile

Signed-off-by: 's avatarMarkus Heiser <markus.heiser@darmarit.de>
parent 1075f58a
language: python language: python
sudo: false sudo: false
cache: cache:
- pip
- npm
- directories: - directories:
- $HOME/.cache/pip - $HOME/.cache/pip
...@@ -10,17 +8,16 @@ addons: ...@@ -10,17 +8,16 @@ addons:
firefox: "latest" firefox: "latest"
install: install:
- ./manage.sh install_geckodriver ~/drivers - make install
- export PATH=~/drivers:$PATH - make gecko.driver
- ./manage.sh npm_packages - make node.env
- ./manage.sh update_dev_packages - local/py3/bin/pip install codecov
- pip install codecov
script: script:
- ./manage.sh styles - make styles
- ./manage.sh grunt_build - make themes
- ./manage.sh tests - make test
after_success: after_success:
- ./manage.sh py_test_coverage - make test.coverage
- codecov - codecov
stages: stages:
...@@ -44,7 +41,7 @@ jobs: ...@@ -44,7 +41,7 @@ jobs:
install: true install: true
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- ./manage.sh docker_build push - local/py3/bin/activate; ./manage.sh docker_build push
after_success: true after_success: true
notifications: notifications:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment