diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a4c661cd4..000000000 --- a/.travis.yml +++ /dev/null @@ -1,32 +0,0 @@ -sudo: true -dist: trusty - -env: - - COMPOSE_FILE=docker/travis.yml - -services: - - docker - -# cache vendor dirs -cache: - directories: - - vendor - -before_install: - - docker-compose up --force-recreate -d - -install: - - cp .env.dist .env - - sed -i s/yii2-starter-kit-test/yii2-starter-kit/ .env - - docker-compose exec -T app composer install --dev --prefer-source --no-interaction - - docker-compose exec -T app ./vendor/bin/codecept build - - sleep 10 # waiting for mysql to start accepting connections - -before_script: - - docker-compose exec -T app php console/yii app/setup --interactive=0 - - docker-compose exec -T app php console/yii app/truncate --interactive=0 - - docker-compose exec -T app ./vendor/bin/codecept build - -script: - - docker-compose exec -T app php -S 127.0.0.1:8080 > /dev/null 2>&1 & - - docker-compose exec -T app ./vendor/bin/codecept run --debug diff --git a/docker/travis.yml b/docker/travis.yml deleted file mode 100644 index 7bd06746d..000000000 --- a/docker/travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: "3" - -services: - app: - build: console - volumes: - # Re-use local composer cache via host-volume - - ~/.composer-docker/cache:/root/.composer/cache:delegated - # Mount source-code for development - - ./:/app - working_dir: /app - - db: - image: mysql:8 - volumes: - - ./mysql/config.cnf:/etc/mysql/conf.d/config.cnf - environment: - MYSQL_ROOT_PASSWORD: root - MYSQL_DATABASE: yii2-starter-kit - MYSQL_USER: ysk_dbu - MYSQL_PASSWORD: ysk_pass