Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit b62a24a

Browse files
author
Mateu Aguiló Bosch
committed
refactor: use global variables for .env
1 parent 16d348a commit b62a24a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ env:
2828
- PROJECT_NAME=contentacms
2929
- PROJECT_BASE_PATH=$HOME/$PROJECT_NAME
3030
- PROJECT_RELEASE_BRANCH=${PROJECT_RELEASE_BRANCH:-8.x-1.x}
31+
- WEB_HOST=127.0.0.1
32+
- WEB_PORT=8888
3133

3234
branches:
3335
only:
@@ -49,7 +51,7 @@ install:
4951
before_script:
5052
# Start Contenta Local Server
5153
- composer run-script start-contenta $PROJECT_BASE_PATH --timeout=0 &> /dev/null &
52-
- until curl -s http://127.0.0.1:8888; do true; done > /dev/null
54+
- until curl -s $WEB_HOST:$WEB_PORT; do sleep 1; done > /dev/null
5355

5456
script:
5557
- composer run-script ci:helper run_functional_tests "$PROJECT_BASE_PATH" --timeout=0

0 commit comments

Comments
 (0)