2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 18:48:58 +00:00

ci: fix travis bash conditions

This commit is contained in:
Revant Nandgaonkar 2020-02-21 17:44:40 +05:30
parent 5bd812ccdd
commit e16f41b947

View File

@ -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;