Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
Travis CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiuconstantin committed Dec 1, 2018
1 parent 47c9398 commit 642746d
Show file tree
Hide file tree
Showing 16 changed files with 35 additions and 657 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
language: node_js
node_js:
- "11.3.0"
dist: trusty
sudo: false

branches:
only:
- master

cache:
directories:
- node_modules

install:
- yarn

script:
- yarn lint
- yarn run build --base-href https://claudiuconstantin.github.io/cron-editor/
deploy:
provider: pages
skip_cleanup: true
github_token: $GH_TOKEN
local_dir: dist/cron-editor-app
on:
branch: master
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
cron-editor
===

[![Build Status](https://travis-ci.org/claudiuconstantin/cron-editor.svg?branch=master)](https://travis-ci.org/claudiuconstantin/cron-editor)
[![npm version](https://badge.fury.io/js/cron-editor.svg)](https://badge.fury.io/js/cron-editor)

`cron-editor` is library that helps the user graphically build a CRON expression (quartz format only) in an Angular application. It is a fork of [angular-cron-gen](https://github.com/vincentjames501/angular-cron-gen) for AngularJS, ported to Angular 2+ and heavily improved.

This project contains the library along with an app to ease development and testing. It was generated with [Angular CLI](https://github.com/angular/angular-cli), following the awesome [Ng Library Series](https://blog.angularindepth.com/creating-a-library-in-angular-6-87799552e7e5) written by Todd Palmer.
Expand Down
328 changes: 0 additions & 328 deletions docs/3rdpartylicenses.txt

This file was deleted.

Binary file removed docs/favicon.ico
Binary file not shown.
Binary file not shown.
288 changes: 0 additions & 288 deletions docs/glyphicons-halflings-regular.89889688147bd7575d63.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
28 changes: 0 additions & 28 deletions docs/index.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.4f486cc65908ea0897cd.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/polyfills.c6871e56cb80756a5498.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/runtime.ec2944dd8b20ec099bf3.js

This file was deleted.

5 changes: 0 additions & 5 deletions docs/styles.4d06628a59bc93336f59.css

This file was deleted.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@
],
"scripts": {
"ng": "ng",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"build_lib": "ng build cron-editor",
"start": "npm run build_lib && ng serve",
"build": "ng build cron-editor && ng build --prod",
"start": "yarn run build_lib && ng serve",

"copy-license": "copy .\\LICENSE.md .\\dist\\cron-editor",
"copy-readme": "copy .\\README.md .\\dist\\cron-editor",
"copy-files": "npm run copy-license && npm run copy-readme",
"pack_lib": "cd dist/cron-editor && npm pack",
"package": "npm run build_lib && npm run copy-files && npm run pack_lib",
"docs": "ng build --prod --output-path docs --base-href cron-editor"
"package": "npm run build_lib && npm run copy-files && npm run pack_lib"
},
"private": true,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion projects/cron-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "claudiu@fastmail.com",
"url": "https://claudiuconstantin.com"
},
"version": "1.0.0",
"version": "2.0.0-beta",
"license": "MIT",
"repository": {
"type": "git",
Expand Down

0 comments on commit 642746d

Please sign in to comment.