Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
618f0dd
Fix typo
kgryte Aug 17, 2016
f2933ec
Restrict number of test files
kgryte Aug 17, 2016
a696ef0
Run only test coverage on AppVeyor
kgryte Aug 17, 2016
bdf4856
Revert changes to test files
kgryte Aug 17, 2016
f1e869a
Add recipe to list test directories
kgryte Aug 17, 2016
cebb2f1
Modify istanbul recipe to run tests on a per-directory basis
kgryte Aug 17, 2016
b569043
Add environment variables
kgryte Aug 17, 2016
fa9ecb1
Refactor istanbul recipes
kgryte Aug 17, 2016
322f0e0
Add resources
kgryte Aug 17, 2016
6b85840
Adjust tab indentation
kgryte Aug 17, 2016
a9839a0
Update environment variables to avoid possible race conditions
kgryte Aug 18, 2016
4a67952
Rename environment variable
kgryte Aug 18, 2016
0c8bcbc
Add support for disabling recipe echoing
kgryte Aug 18, 2016
8b84f25
Add VERBOSE environment variable
kgryte Aug 18, 2016
d2aac73
Add items
kgryte Aug 18, 2016
e8ece94
Replace single quotes with double quotes
kgryte Aug 18, 2016
f667a16
Add previous istanbul cover recipe as `test-istanbul-cover`
kgryte Aug 18, 2016
fb46bd8
Add item
kgryte Aug 18, 2016
7439bf1
Update guide
kgryte Aug 18, 2016
a732162
Fix use of module
kgryte Aug 19, 2016
06fbd2d
Add browser polyfill, expand tests, and update tests
kgryte Aug 19, 2016
a483090
Update items
kgryte Aug 19, 2016
9b56d21
Add more checks and tests
kgryte Aug 19, 2016
ea6fc81
Add utility to check if runtime is a web browser
kgryte Aug 19, 2016
2578d12
Add check for `require` global variable
kgryte Aug 19, 2016
73dc96e
Add utility to check if runtime is a web worker
kgryte Aug 20, 2016
e3ec30f
Update items
kgryte Aug 20, 2016
fa254cf
Remove electron-prebuilt and add electron
kgryte Aug 20, 2016
232ff59
Add utility to detect Electron runtime environment
kgryte Aug 20, 2016
76da4c0
Add utility to detect the main Electron process
kgryte Aug 20, 2016
545bc41
Add utility to detect an Electron renderer process
kgryte Aug 20, 2016
7a5ae57
Update items
kgryte Aug 20, 2016
285d763
Remove `global` assumption
kgryte Aug 20, 2016
a846c75
Add fixture for non-node environments
kgryte Aug 20, 2016
ac5e7fd
Alias `global` as `Global`
kgryte Aug 20, 2016
e161f39
Add global annotation
kgryte Aug 20, 2016
3bc2bab
Fix use of deprecated `GLOBAL` variable
kgryte Aug 20, 2016
5afaa5c
Add utility and CLI to determine the number of CPUs
kgryte Aug 20, 2016
1ce1359
Update items
kgryte Aug 20, 2016
11b7380
Add items
kgryte Aug 21, 2016
9cb0dc9
Add utility to run scripts in parallel
kgryte Aug 21, 2016
5fd543b
Use is-browser utility
kgryte Aug 21, 2016
d8a123d
Skip tests if run in browser
kgryte Aug 21, 2016
cbc6ac0
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into fi…
kgryte Aug 21, 2016
1c4ca8a
Dynamically generate example scripts
kgryte Aug 21, 2016
f4e4c9f
Add serial example and adjust max buffer size
kgryte Aug 22, 2016
42ad3b2
Use spawn instead of execFile to prevent buffered child stdio
kgryte Aug 22, 2016
a114d9e
Fix script allocation when higher concurrency than workers, fix optio…
kgryte Aug 22, 2016
e6d293c
Update remark dev deps
kgryte Aug 22, 2016
461f2ee
Fix require statement
kgryte Aug 22, 2016
1e600e3
Add support for Node versions <v2.0.0
kgryte Aug 22, 2016
398e92b
Upgrade remark-lint dev dep
kgryte Aug 22, 2016
3609ee4
Add browser support
kgryte Aug 22, 2016
9310b96
Add test support for Node <v3.0.0
kgryte Aug 22, 2016
788eb94
Separate worker file from worker execution
kgryte Aug 22, 2016
03f3f32
Remove unused modules
kgryte Aug 22, 2016
4f6abef
Fix tests to accommodate Node <v3.0.0
kgryte Aug 22, 2016
9c4f289
Resolve absolute file paths and add CLI and package.json
kgryte Aug 22, 2016
8d2d301
Reorganize implementation, clean-up, add support for additional optio…
kgryte Aug 23, 2016
a8fd1a0
Update JSDoc annotations
kgryte Aug 23, 2016
a7d6deb
Add README and fix missing periods in usage text
kgryte Aug 23, 2016
44bd718
Update README
kgryte Aug 23, 2016
c82af60
Fix bug where a string is considered a primitive string array
kgryte Aug 23, 2016
88d8905
Add validation tests
kgryte Aug 23, 2016
78b58db
Add fixtures and add high-level tests
kgryte Aug 23, 2016
2bcf35d
Add worker tests
kgryte Aug 23, 2016
4c2596c
Add tests for script allocation
kgryte Aug 23, 2016
32ec2ce
Remove unused variable
kgryte Aug 23, 2016
4bbbe1c
Update copy
kgryte Aug 23, 2016
3697096
Set the process title for workers
kgryte Aug 23, 2016
88d3913
Reduce example length
kgryte Aug 23, 2016
62cd5b5
Add semver as dev dep
kgryte Aug 23, 2016
33eafd6
Add test case for copying `process.env` in older Node.js versions
kgryte Aug 23, 2016
02d8fbc
Use copy shim when copying `process.env` to support Node.js <=v0.10.x
kgryte Aug 23, 2016
1787d93
Handle non-zero exit and termination signal events
kgryte Aug 23, 2016
f4034d1
Set code and signal properties on the error object
kgryte Aug 23, 2016
6c02e1e
Use a hash instead of an array for storing workers and randomly assig…
kgryte Aug 23, 2016
4ee5d71
Handle exit codes and termination signals and update README example t…
kgryte Aug 23, 2016
509f62a
Add items
kgryte Aug 23, 2016
e7c2a1b
Rename parallel-runner to parallel
kgryte Aug 23, 2016
968a45d
Clarify item
kgryte Aug 23, 2016
3da13af
Remove duplicate file
kgryte Aug 23, 2016
1d2f8c7
Add throws annotation
kgryte Aug 24, 2016
2258cf9
Escape brackets
kgryte Aug 24, 2016
99fb0d7
Add tape test runner for Istanbul instrumented source code
kgryte Aug 24, 2016
352f268
Update Istanbul recipe to use test runner
kgryte Aug 24, 2016
9c7efd5
Restore build sequence for Windows builds
kgryte Aug 24, 2016
17a19de
Update AppVeyor build matrix and script
kgryte Aug 24, 2016
e84934a
Move environment variable inside quotes
kgryte Aug 24, 2016
92fea6e
Fix syntax error in conditionals
kgryte Aug 24, 2016
2423f39
Pass interval to heartbeat function
kgryte Aug 24, 2016
c9eb177
Restore full build matrix
kgryte Aug 24, 2016
795e089
Set the clone depth to 10
kgryte Aug 24, 2016
7f158b1
Configure builds on Travis CI to run specific tasks
kgryte Aug 25, 2016
58f4122
Update the build matrix to use a task environment variable
kgryte Aug 25, 2016
1b4d7ff
Make checking dependencies part of test task
kgryte Aug 25, 2016
6142be3
Fix variable name
kgryte Aug 25, 2016
f4b006d
Restore sending coverage to coverage service
kgryte Aug 25, 2016
987d7d4
Send coverage report to coverage service from AppVeyor
kgryte Aug 25, 2016
cecffc6
Forcefully shut down servers in tests
kgryte Aug 25, 2016
4ff88b3
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into fi…
kgryte Aug 28, 2016
5fbdcd2
Update david dev dep
kgryte Aug 28, 2016
2e309d0
Expose codecov flags
kgryte Aug 28, 2016
3bc5ef0
Update items
kgryte Aug 28, 2016
717cc84
Use `NODE` environment variable
kgryte Aug 29, 2016
6d10ba0
Add CLI
kgryte Aug 29, 2016
2ec756c
Change heading style
kgryte Aug 29, 2016
5d98f8a
Add Codecov flags
kgryte Aug 29, 2016
29241e1
Fix conditional
kgryte Aug 30, 2016
caf876a
Lowercase kernel name and determine the Node.js version
kgryte Aug 30, 2016
24704bf
Set coverage report name environment variable when sending reports to…
kgryte Aug 30, 2016
405c650
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into fi…
kgryte Aug 30, 2016
742fe89
Limit clone depth and fast finish if a job fails
kgryte Aug 30, 2016
e502a4b
Install a C++11 standard-compliant compiler
kgryte Aug 30, 2016
cad5238
Update items
kgryte Aug 30, 2016
6d0777c
Use bash script instead of installing Codecov node module
kgryte Aug 30, 2016
af9162b
Add rules for YAML files
kgryte Aug 30, 2016
593080f
Add recipe to validate a configuration file
kgryte Aug 30, 2016
67dc23a
Post the conf file to the Codecov validator
kgryte Aug 30, 2016
790893f
Add a Codecov configuration file
kgryte Aug 30, 2016
d987c30
Fix anonymous fcn test case
kgryte Aug 30, 2016
f86e28c
Fix require statements
kgryte Aug 30, 2016
3d23acf
Fix return value
kgryte Aug 30, 2016
7f41482
Explicitly handle non-zero exit statuses
kgryte Aug 30, 2016
2a5b82c
Fix anonymous function test cases
kgryte Aug 30, 2016
c8bb5fe
Add debug statements to debug Windows build for Node v0.10.x
kgryte Aug 30, 2016
04f9055
Set shell to bash when running Codecov upload script
kgryte Aug 30, 2016
8804dff
Update test message
kgryte Aug 30, 2016
4f8e270
Add TODO annotations
kgryte Aug 30, 2016
4adfc83
Update debug statements for Windows Node v0.10.x debugging
kgryte Aug 30, 2016
ecd80fb
Toggle Codecov coverage adjustments
kgryte Aug 30, 2016
00d8aa8
Fix missing separator
kgryte Aug 30, 2016
029143e
Fix coverage report filename generation on Linux
kgryte Aug 30, 2016
c5d299c
Add and update debug statements for Windows Node v0.10.x
kgryte Aug 31, 2016
7c283fe
Run only the tests for the failing module
kgryte Aug 31, 2016
25e4ba5
Update debug statements for debugging Windows Node v0.10.x
kgryte Aug 31, 2016
dde4c2d
Update debug statements for debugging Windows Node v0.10.x
kgryte Aug 31, 2016
6f4fa19
Fix debug statement
kgryte Aug 31, 2016
69681f4
Add utility to return the Node.js version
kgryte Aug 31, 2016
3084e4f
Add test cases for Node <=v0.10.x on Windows and remove debug statements
kgryte Aug 31, 2016
3176fb9
Restore running all tests on AppVeyor
kgryte Aug 31, 2016
6e1902f
Add link to ES discussion on observability of distinguishable NaNs
kgryte Aug 31, 2016
b5482d4
Add script to generate an Istanbul coverage report
kgryte Aug 31, 2016
7c64d07
Remove script to generate Istanbul coverage report
kgryte Aug 31, 2016
e18f979
Update style
kgryte Aug 31, 2016
b89b41d
Update style
kgryte Aug 31, 2016
6ea2050
Add script to generate a coverage report name
kgryte Aug 31, 2016
af4ba49
Use `node` command to run script
kgryte Aug 31, 2016
54fc7c8
Generate unique coverage reports by using the test directory path
kgryte Aug 31, 2016
1614af6
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into fi…
kgryte Aug 31, 2016
41240e6
Update items
kgryte Aug 31, 2016
8fb7fef
Rename file and refactor
kgryte Aug 31, 2016
77627bf
Update to use renamed file
kgryte Aug 31, 2016
0d9a66c
Add check for distinguishable `NaN` values
kgryte Aug 31, 2016
4ce63c8
Update src comment
kgryte Aug 31, 2016
64f577c
Update item
kgryte Aug 31, 2016
c116406
Fix misspelling
kgryte Aug 31, 2016
485a567
Remove repeat entry
kgryte Sep 1, 2016
24c72ff
Remove repeat entry
kgryte Sep 1, 2016
b8bc583
Remove repeat entry
kgryte Sep 1, 2016
1ddf15b
Add utility to convert a string to lowercase
kgryte Sep 1, 2016
3190060
Add utility to convert a string to uppercase
kgryte Sep 1, 2016
4f0413d
Rename file
kgryte Sep 1, 2016
fdc3b49
Refactor filename linter as a node module
kgryte Sep 1, 2016
01e4cbc
Add items
kgryte Sep 1, 2016
6f05049
Improve formatting
kgryte Sep 1, 2016
fe7ea01
Update item
kgryte Sep 1, 2016
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
76 changes: 76 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# After changing this file, check it via:
# curl -X POST --data-binary @/path/to/.codecov.yml https://codecov.io/validate
#
# For general configuration information, see:
# https://github.com/codecov/support/wiki/Codecov-Yaml

codecov:
# Default branch to show (if not set, inherited from repository settings):
- branch: develop


coverage:
# Number of decimals to display in UI:
- precision: 4

# How to round coverage percentages (up/down/nearest):
- round: down

# Notification settings:
# - notify: TODO (slack, gitter)


status:
# Commit status settings for the overall project:
project:
default:
# Enable posting a commit status:
enabled: yes

# Target coverage percentage for a commit (if "auto", must increase from parent commit):
target: auto

# Post an "error" commit status if a report is not uploaded for a given commit:
if_no_uploads: error

# Post an "error" if unable to find parent commit:
if_not_found: error

# If CI fails, report an "error" commit status:
if_ci_failed: error

# Commit status settings for pull requests:
patch:
default:
# Enable posting a commit status:
enabled: yes

# Post an "error" commit status if a report is not uploaded for a given commit:
if_no_uploads: error

# Post an "error" if unable to find parent commit:
if_not_found: error

# If CI fails, report an "error" commit status:
if_ci_failed: error

# Commit status settings for "unexpected" changes:
changes:
default:
# Enable posting a commit status:
enabled: yes

# Post an "error" commit status if a report is not uploaded for a given commit:
if_no_uploads: error

# Post an "error" if unable to find parent commit:
if_not_found: error

# If CI fails, report an "error" commit status:
if_ci_failed: error


# Comment settings:
comment:
layout: "header, diff, changes, sunburst, uncovered, tree"
behavior: default
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,9 @@ indent_size = 2
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@ lib/node_modules/**/node_modules/
*.com
*.class
*.dll
*.exe
*.o
*.so
*.slo
*.lo
*.obj
*.dylib
*.dll
*.lai
*.la
*.a
Expand Down Expand Up @@ -138,7 +136,6 @@ acs-*.bib
*.glg
*.glo
*.gls
*.brf
*-concordance.tex
*.tikz
*-tikzDictionary
Expand Down
36 changes: 35 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,44 @@ node_js:
- '0.12'
- '0.10'

env:
# Environment variables common to all jobs:
global:
- CXX=g++-4.8

# Environment variables used to construct build matrix:
matrix:
- BUILD_TASK='test'
- BUILD_TASK='benchmark'
- BUILD_TASK='examples'
- BUILD_TASK='test-coverage'


matrix:
# Flag to immediately finish a build if any one of the jobs fails:
fast_finish: true


# Compiling native modules for io.js v3.x.x or Node.js >=v4.0.0 requires a C++11 standard-compliant compiler. Specifically, either gcc >=4.8 or clang >=3.5.
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8


# Set the clone depth:
git:
depth: 10


before_install:
# Update the npm client. Older clients cannot, e.g., handle scoped modules.
- npm update -g npm


script:
- ./tools/ci/travis.sh
- chmod +x ./tools/ci/travis
- "./tools/ci/travis $BUILD_TASK"

18 changes: 17 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# VARIABLES #

ifndef VERBOSE
QUIET := @
endif

# Define whether the make commands are running on a hosted continuous integration service:
ifeq ($(TRAVIS), true)
CI_SERVICE ?= travis
Expand Down Expand Up @@ -51,6 +55,9 @@ DOCS_DIR ?= $(ROOT_DIR)/docs
# Define the directory for generated source code documentation:
SRC_DOCS_DIR ?= $(BUILD_DIR)/docs

# Define the directory for instrumented source code:
COVERAGE_INSTRUMENTATION_DIR ?= $(BUILD_DIR)/coverage

# Define the top-level directory containing executables:
LOCAL_BIN_DIR ?= $(ROOT_DIR)/bin

Expand All @@ -75,6 +82,15 @@ EXAMPLES_FOLDER ?= examples
# Define the folder name convention for benchmark files:
BENCHMARKS_FOLDER ?= benchmark

# Define the folder name convention for executables:
BIN_FOLDER ?= bin

# Define the folder name convention for documentation files:
DOCUMENTATION_FOLDER ?= docs

# Define the folder name convention for configuration files:
CONFIG_FOLDER ?= etc

# Define Node paths:
NODE_PATH ?= $(ROOT_DIR)/lib/node_modules
NODE_PATH_BENCHMARK ?= $(NODE_PATH)
Expand All @@ -84,7 +100,7 @@ NODE_PATH_TEST ?= $(NODE_PATH)
NODE_PATH_WORKSHOPS ?= $(NODE_PATH)

# Define Node environments:
ifdef ($(NODE_ENV))
ifdef NODE_ENV
NODE_ENV_BENCHMARK := $(NODE_ENV)
NODE_ENV_EXAMPLES := $(NODE_ENV)
NODE_ENV_REPL := $(NODE_ENV)
Expand Down
Loading