Category : travis-ci

I use a docker-compose file to deploy my wordpress app togheter with mysql version: "3.7" services: db: image: mysql:5.7 container_name: db volumes: – db_data:/var/lib/mysql restart: always environment: MYSQL_ROOT_PASSWORD: somewordpress MYSQL_DATABASE: wordpress MYSQL_USER: wordpress MYSQL_PASSWORD: wordpress wordpress: depends_on: – db image: wordpress:latest container_name: wordpress ports: – "8000:80" restart: always environment: WORDPRESS_DB_HOST: db:3306 WORDPRESS_DB_USER: wordpress WORDPRESS_DB_PASSWORD: wordpress ..

Read more

i try to invoke command on my remote server (DROPLET-DigitalOcean) from my travis build server, how should i connect to the server properly and run command docker-compose up? My .travis.yml file: language: csharp sudo: required mono: none dotnet: 5.0.202 branches: only: – master before_script: – chmod -R a+x scripts script: – cd src/Application.Api – dotnet ..

Read more

How do you kill a single script step of a Travis-CI build after specific timeout? I’m running a Docker image inside Travis-CI, and my script steps look like: script: – ./build_docker.sh – ./run_docker.sh – ./verify_artifacts.sh My Docker image is designed so that it does its computations, outputs results to a log file in a shared ..

Read more

I have setup local travis ci env by referring link: https://andy-carter.com/blog/setting-up-travis-locally-with-docker-to-test-continuous-integration, after doing most of the steps when it comes to compiling my git repo using travis compile >ci.sh command, i am getting "unknown command compile" message. So when i checked travis help, i dont find compile api itself. Can any one help me to ..

Read more

This is my travis.yml file and this is the latest run https://travis-ci.com/github/harryyy27/allies-art-club: sudo: required language: generic services: – docker stages: – dev – prod jobs: include: – stage: dev if: NOT(branch=master) scripts: – docker build -t harryyy27/allies_art_club/frontend -f ./client/Dockerfile.dev ./client – docker build -t harryyy27/allies_art_club/backend -f ./src/Dockerfile.dev ./src – docker run -e CI=true harryyy27/allies_art_club/frontend npm ..

Read more

So really I have several problems here. This is my travis.yml file and this is the latest run https://travis-ci.com/github/harryyy27/allies-art-club: sudo: required services: – docker stages: – name: before_deploy if: branch = master – name: before_install if: branch != master – name: scripts if: branch != master before_install: – docker build -t harryyy27/allies_art_club/frontend -f ./client/Dockerfile.dev ./client ..

Read more

So really I have several problems here. This is my travis.yml file and this is the latest run https://travis-ci.com/github/harryyy27/allies-art-club: sudo: required services: – docker stages: – name: before_deploy if: branch = master – name: before_install if: branch != master – name: scripts if: branch != master before_install: – docker build -t harryyy27/allies_art_club/frontend -f ./client/Dockerfile.dev ./client ..

Read more