Skip to content

Commit

Permalink
Merge pull request #11 from ishanvyas22/releases/1.1.1
Browse files Browse the repository at this point in the history
Release v1.1.1
  • Loading branch information
ishanvyas22 authored Nov 9, 2019
2 parents 32059e6 + b23b67a commit 0d90a99
Show file tree
Hide file tree
Showing 3 changed files with 240 additions and 2,438 deletions.
26 changes: 9 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ language: php

dist: trusty

sudo: false

branches:
only:
- master
- develop
- releases/1.0.3

php:
- 5.6
Expand All @@ -23,13 +20,10 @@ env:
services:
- mysql

addons:
apt:
sources:
- mysql-5.7-trusty
packages:
- mysql-server
- mysql-client
cache:
directories:
- vendor
- $HOME/.composer/cache

matrix:
fast_finish: true
Expand All @@ -50,14 +44,12 @@ matrix:
- php: 7.2
env: CODECOVERAGE=1 DEFAULT=0 DB=mysql DATABASE_URL='mysql://root:[email protected]/cakevue_spa?init[]=SET sql_mode = "STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"' DATABASE_TEST_URL='mysql://root:[email protected]/test_cakevue_spa?init[]=SET sql_mode = "STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"'

before_install:
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('root') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- sudo mysql_upgrade -u root -proot
- sudo service mysql restart

before_script:
- if [ $DB = 'mysql' ]; then mysql -u root -proot -e 'CREATE DATABASE cakevue_spa;'; fi
- if [ $DB = 'mysql' ]; then mysql -u root -proot -e 'CREATE DATABASE test_cakevue_spa;'; fi
- if [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE cakevue_spa;'; fi
- if [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE test_cakevue_spa;'; fi
- if [ $DB = 'mysql' ]; then mysql -u root -e "CREATE USER 'ishan'@'localhost' IDENTIFIED BY 'ishan';"; fi
- if [ $DB = 'mysql' ]; then mysql -u root -e "GRANT ALL ON cakevue_spa.* TO 'ishan'@'localhost';"; fi
- if [ $DB = 'mysql' ]; then mysql -u root -e "GRANT ALL ON test_cakevue_spa.* TO 'ishan'@'localhost';"; fi
- if [[ $PHPCS = 1 ]]; then composer require cakephp/cakephp-codesniffer:^3.0; fi
- if [[ $DEFAULT = 1 ]]; then composer install --no-interaction; fi
- if [[ $DEFAULT = 1 ]]; then composer test-setup; fi
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# A Basic CakePHP + VueJS Single Page Application
[![Build Status](https://travis-ci.com/ishanvyas22/cakephpvue-spa.svg?branch=develop)](https://travis-ci.com/ishanvyas22/cakephpvue-spa)

[![Latest Stable Version](https://poser.pugx.org/ishanvyas22/cakephpvue-spa/v/stable)](https://packagist.org/packages/ishanvyas22/cakephpvue-spa)
[![Total Downloads](https://poser.pugx.org/ishanvyas22/cakephpvue-spa/downloads)](https://packagist.org/packages/ishanvyas22/cakephpvue-spa)
[![License](https://poser.pugx.org/ishanvyas22/cakephpvue-spa/license)](https://packagist.org/packages/ishanvyas22/cakephpvue-spa)
[![Build Status](https://travis-ci.com/ishanvyas22/cakephpvue-spa.svg?branch=develop)](https://travis-ci.com/ishanvyas22/cakephpvue-spa)

A basic CakePHP(3.\*) + VueJS single page application. Provides basic skeleton to quickly get started with cakephp and vuejs.

Expand Down Expand Up @@ -31,7 +34,7 @@ A basic CakePHP(3.\*) + VueJS single page application. Provides basic skeleton t
```bash
npm install
```
2. Run below command (Uses awesome tool [Laravel mix](https://laravel-mix.com) by [Jeffrey Way](https://github.com/JeffreyWay))
2. Run below command (Uses awesome [Asset Mix](https://github.com/ishanvyas22/asset-mix) plugin for asset compilation)
- **To watch every changes in your vue file**
```bash
npm run watch
Expand Down
Loading

0 comments on commit 0d90a99

Please sign in to comment.