mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
bye bye travis
This commit is contained in:
43
.travis.yml
43
.travis.yml
@ -1,43 +0,0 @@
|
||||
---
|
||||
language: minimal
|
||||
dist: bionic
|
||||
branches:
|
||||
only:
|
||||
- v1.0.0
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: Lint
|
||||
services:
|
||||
- docker
|
||||
before_install:
|
||||
- docker build -t hyperglass/ubuntu -f .tests/app/ubuntu/Dockerfile .
|
||||
script: docker run hyperglass/ubuntu /bin/sh -c "cd /tmp/hyperglass; poetry run flake8 hyperglass"
|
||||
- stage: Installer - Ubuntu
|
||||
services:
|
||||
- docker
|
||||
before_install:
|
||||
- docker build -t install_ubuntu -f .tests/install/ubuntu/Dockerfile .
|
||||
script: docker run install_ubuntu /bin/bash /tmp/install.sh
|
||||
- stage: App - Ubuntu
|
||||
services:
|
||||
- docker
|
||||
- redis
|
||||
before_install:
|
||||
- docker build -t hyperglass/ubuntu -f .tests/app/ubuntu/Dockerfile .
|
||||
env:
|
||||
- HYPERGLASS_UI_BUILD_TIMEOUT=600
|
||||
script: docker run hyperglass/ubuntu /tmp/setup.sh
|
||||
# Poetry & PyPI Deployment stolen from: https://github.com/python-poetry/poetry/issues/366
|
||||
- stage: Publish
|
||||
script: skip
|
||||
before_deploy:
|
||||
- pip install poetry
|
||||
- poetry config pypi-token.pypi $PYPI_TOKEN
|
||||
- poetry build
|
||||
deploy:
|
||||
provider: script
|
||||
script: poetry publish
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: v1.0.0
|
Reference in New Issue
Block a user