mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-20 15:05:08 +00:00
maybe we dont need it
This commit is contained in:
parent
0e7a5992ea
commit
c18efdcb6c
2 changed files with 10 additions and 15 deletions
13
.travis.yml
13
.travis.yml
|
|
@ -3,24 +3,11 @@ dist: xenial
|
||||||
env:
|
env:
|
||||||
- DOCKER_COMPOSE_VERSION: 1.23.1
|
- DOCKER_COMPOSE_VERSION: 1.23.1
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- build-essential
|
|
||||||
- nghttp2
|
|
||||||
- libnghttp2-dev
|
|
||||||
- libssl-dev
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- wget https://curl.haxx.se/download/curl-7.63.0.tar.gz && tar xzf curl-7.63.0.tar.gz
|
|
||||||
- cd curl-7.63.0
|
|
||||||
- sudo apt-get -y remove curl
|
|
||||||
- ./configure --with-nghttp2 --with-ssl
|
|
||||||
- make && sudo make install
|
|
||||||
- sudo ldconfig && cd ..
|
|
||||||
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||||
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
|
|
|
||||||
12
test.sh
12
test.sh
|
|
@ -2,5 +2,13 @@
|
||||||
|
|
||||||
./dbench start > /tmp/bench.log &
|
./dbench start > /tmp/bench.log &
|
||||||
|
|
||||||
curl --version
|
output=$(
|
||||||
curl --retry 20 --retry-delay 1 --retry-connrefused "http://localhost:8000/login" | grep '<title> Login </title>' || exit 1
|
while ! curl "http://localhost:8000/login"
|
||||||
|
do
|
||||||
|
{ echo "Exit status of curl: $?"
|
||||||
|
} 1>&2
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
)
|
||||||
|
|
||||||
|
echo "${output}" | grep '<title> Login </title>' || exit 1
|
||||||
Loading…
Reference in a new issue