Skip to content
This repository was archived by the owner on Apr 1, 2021. It is now read-only.

Commit 0d94545

Browse files
committed
add travis yml
1 parent 978d35f commit 0d94545

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
sudo: required
2+
3+
language: minimal
4+
5+
services:
6+
- docker
7+
8+
install:
9+
- docker-compose up -d prod
10+
11+
script:
12+
- curl --silent --fail --show-error --output /dev/null http://localhost:88

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ COPY package-lock.json /var/www
88
RUN npm ci
99

1010
COPY . /var/www
11-
# RUN npm run prod
11+
RUN npm run prod
1212
RUN rm -rf /var/www/node_modules/
1313

1414
FROM php:7.2-fpm AS server

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
> Laravel + CoreUI + Vue Boilerplate
44
55
[![PHP version](https://badge.fury.io/ph/adenvt%2Flaravel-coreui-vue.svg)](https://badge.fury.io/ph/adenvt%2Flaravel-coreui-vue)
6+
[![Build Status](https://travis-ci.com/adenvt/laravel-coreui-vue.svg?branch=master)](https://travis-ci.com/adenvt/laravel-coreui-vue)
67

78
## What's inside
89
* [Laravel][laravel] 5.7, A PHP framework for web artisans
@@ -28,7 +29,7 @@
2829
* For Ubuntu, require `apt-get install libpng16-dev`, [see](https://github.com/imagemin/imagemin-mozjpeg/issues/28)
2930

3031
## How to Install
31-
* Install using composer (no need to cloning)
32+
* Install using composer (doesn't need to clone)
3233
```bash
3334
composer create-project --prefer-dist adenvt/laravel-coreui-vue project_name
3435
```
@@ -93,8 +94,6 @@ docker-compose up -d prod
9394
```
9495
* Open browser, goto `http://localhost:88`
9596

96-
97-
9897
## License
9998
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
10099

0 commit comments

Comments
 (0)