mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 08:48:05 +00:00
fix build jobs
This commit is contained in:
parent
d99d584fde
commit
5128c18c76
2 changed files with 12 additions and 9 deletions
|
|
@ -7,7 +7,10 @@ sleep 2
|
|||
echo "Starting UI build"
|
||||
poetry run hyperglass build-ui
|
||||
echo "UI build completed"
|
||||
# echo "Starting redis..."
|
||||
# redis-server &
|
||||
# echo "Redis started"
|
||||
echo ""
|
||||
echo "Starting hyperglass..."
|
||||
poetry run hyperglass start &> /var/log/hyperglassci.log &
|
||||
echo "Started hyperglass"
|
||||
echo "Running HTTP test..."
|
||||
curl -s -o /dev/null -w "%{http_code}" http://localhost:8001
|
||||
echo "Tests ran successfully"
|
||||
exit 0
|
||||
10
.travis.yml
10
.travis.yml
|
|
@ -10,9 +10,9 @@ jobs:
|
|||
include:
|
||||
- stage: Lint
|
||||
script: docker run hyperglass/ubuntu /bin/sh -c "cd /tmp/hyperglass; poetry run flake8 hyperglass"
|
||||
- stage: Setup
|
||||
script: docker run hyperglass/ubuntu /tmp/dockersetup.sh
|
||||
- stage: Start
|
||||
script: docker run hyperglass/ubuntu /bin/sh -c "cd /tmp/hyperglass; poetry run hyperglass start &> /var/log/hyperglassci.log &"
|
||||
- stage: Test
|
||||
script: docker run hyperglass/ubuntu /bin/sh -c "curl -s -o /dev/null -w "%{http_code}" http://localhost:8001"
|
||||
script: docker run hyperglass/ubuntu /tmp/dockersetup.sh
|
||||
# - stage: Start
|
||||
# script: docker run hyperglass/ubuntu /bin/sh -c "cd /tmp/hyperglass; poetry run hyperglass start &> /var/log/hyperglassci.log &"
|
||||
# - stage: Test
|
||||
# script: docker run hyperglass/ubuntu /bin/sh -c "curl -s -o /dev/null -w "%{http_code}" http://localhost:8001"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue