mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-23 10:38:58 +00:00
ci: fix travis bash conditions
This commit is contained in:
parent
5bd812ccdd
commit
e16f41b947
@ -6,16 +6,16 @@ services:
|
||||
- docker
|
||||
|
||||
before_install:
|
||||
- if [ $BUILD != "development"]; then
|
||||
- if [[ "$BUILD" -ne "development" ]]; then
|
||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
sudo apt-get update && sudo apt-get -y install git
|
||||
fi
|
||||
- if [ $BUILD == "development" ];then
|
||||
- if [[ $BUILD == "development" ]];then
|
||||
sudo apt-get update && sudo apt-get -y install docker-compose;
|
||||
fi
|
||||
|
||||
install:
|
||||
- if [ $BUILD == "development" ];then
|
||||
- if [[ $BUILD == "development" ]];then
|
||||
chmod ugo+x ./dbench;
|
||||
chmod ugo+x ./test.sh;
|
||||
./dbench setup docker;
|
||||
|
Loading…
Reference in New Issue
Block a user