Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
737b7ee
build(submodule): add submodule
amejiarosario May 8, 2019
f7fcd7e
build(submodule): bump commit
amejiarosario May 8, 2019
66a445d
chore(submodules): pull all submodules
amejiarosario May 8, 2019
29adcad
chore: bump subproject
amejiarosario May 8, 2019
1f69dc8
build(circleci): added config
amejiarosario May 8, 2019
957aa8c
build: remove travis-ci
amejiarosario May 8, 2019
7b7782d
build: add book creation
amejiarosario May 8, 2019
0389a4b
build: run 2 jobs
amejiarosario May 8, 2019
19ef4a5
build: fix fingerprint
amejiarosario May 8, 2019
7c0d089
build: fix path
amejiarosario May 8, 2019
689fd1a
build: fix mathematical issue
amejiarosario May 9, 2019
6b12e30
build: last try
amejiarosario May 9, 2019
5204fb2
build: cmake
amejiarosario May 9, 2019
4bdd5f4
build: GraphicsMagick
amejiarosario May 9, 2019
30b6c5f
build: software-properties-common
amejiarosario May 9, 2019
cc13f66
build: graphicsmagick fix
amejiarosario May 9, 2019
406fae7
build: fix links and images
amejiarosario May 9, 2019
47dbd64
no GraphicsMagick
amejiarosario May 9, 2019
732cf6f
install deps for GraphicsMagick
amejiarosario May 9, 2019
6a4dc4d
build: silent install
amejiarosario May 9, 2019
3a69aaa
artifacts
amejiarosario May 9, 2019
3540798
build: bundle exec
amejiarosario May 9, 2019
3ac9bde
build: artifacts path fix
amejiarosario May 9, 2019
0aa777a
build: set destination
amejiarosario May 9, 2019
47438eb
build: improve cache
amejiarosario May 9, 2019
4dc6e43
build: add parenthesis
amejiarosario May 9, 2019
efb2c7d
build: npm_package_version
amejiarosario May 9, 2019
ef7a0f3
build: shows node version
amejiarosario May 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build: add book creation
  • Loading branch information
amejiarosario committed May 8, 2019
commit 7b7782db75cef0abd3d39a472cf302b29ecc03ff
27 changes: 23 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ jobs: # a collection of steps
name: update-npm
command: 'sudo npm install -g npm@latest'
- run:
name: Check current version of node
name: node version
command: node -v
- run:
name: Check current version of NPM
name: NPM version
command: npm -v

- restore_cache: # special step to restore the dependency cache
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install-npm-wee
name: npm install
command: npm install
- save_cache: # special step to save the dependency cache
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules

- run: # run tests
name: test
name: run tests
command: npm run ci

- store_artifacts: # special step to save test results as as artifact
Expand All @@ -40,3 +40,22 @@ jobs: # a collection of steps
prefix: coverage
- store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
path: test-results.xml

book:
docker:
- image: circleci/ruby:2.5.3-stretch
steps:
- checkout
- run:
name: bundler version
command: bundle -v
- run:
name: ruby version
command: ruby -v

workflows:
version: 2
build_and_test:
jobs:
- build
- book
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Data Structures and Algorithms in JavaScript

[![Build Status](https://travis-ci.com/amejiarosario/dsa.js.svg?branch=master)](https://travis-ci.com/amejiarosario/dsa.js) [![NPM version](https://badge.fury.io/js/dsa.js.svg)](https://badge.fury.io/js/dsa.js) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com) [![Code Style Airbnb](https://img.shields.io/badge/code%20style-Airbnb-brightgreen.svg)](https://github.com/airbnb/javascript)
[![CircleCI](https://circleci.com/gh/amejiarosario/dsa.js.svg?style=svg)](https://circleci.com/gh/amejiarosario/dsa.js) [![NPM version](https://badge.fury.io/js/dsa.js.svg)](https://badge.fury.io/js/dsa.js) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com) [![Code Style Airbnb](https://img.shields.io/badge/code%20style-Airbnb-brightgreen.svg)](https://github.com/airbnb/javascript)
[![ProductHunt](https://img.shields.io/badge/product%20hunt-vote-orange.svg)](https://www.producthunt.com/posts/dsa-js)

<!--
Expand Down