Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Migrated from Travis to Circle CI
  • Loading branch information
sgravrock committed Apr 23, 2021
1 parent bd118c6 commit 8dd16c2
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 14 deletions.
70 changes: 70 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,70 @@
# Run tests against supported Node versions

version: 2.1

orbs:
node: circleci/node@3.0.0
win: circleci/windows@2.2.0

executors:
node14:
docker:
- image: circleci/node:14
working_directory: ~/workspace
node12:
docker:
- image: circleci/node:12
working_directory: ~/workspace
node10:
docker:
- image: circleci/node:10
working_directory: ~/workspace

jobs:
build_and_test:
parameters:
executor:
type: executor
executor: << parameters.executor >>
steps:
- checkout
- run:
name: Report Node and NPM versions
command: echo "Using Node $(node --version) and NPM $(npm --version)"
- run:
name: Install dependencies
command: npm install
- run:
name: Run tests
command: npm test

workflows:
version: 2
push: &push_workflow
jobs:
- build_and_test:
executor: node14
name: node_14
- build_and_test:
executor: node12
name: node_12
- build_and_test:
executor: node10
name: node_10
- build_and_test:
executor:
name: win/default
shell: powershell.exe
name: node_12_windows
cron:
<<: *push_workflow
triggers:
- schedule:
# Times are UTC.
cron: "0 10 * * *"
filters:
branches:
only:
- main
- "3.99"
- "4.0"
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/jasmine/jasmine-npm.png?branch=main)](https://travis-ci.com/jasmine/jasmine-npm)
[![Build Status](https://circleci.com/gh/jasmine/jasmine-npm.svg?style=shield)](https://circleci.com/gh/jasmine/jasmine-npm)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine-npm.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine-npm?ref=badge_shield)

# The Jasmine Module
Expand Down

0 comments on commit 8dd16c2

Please sign in to comment.