Skip to content
Permalink
Browse files

ci: 🎡 add travis config (#33)

* Experimentig with travis

* ci: 🎡 add travis config
  • Loading branch information
theashraf authored and antonioru committed Jan 6, 2020
1 parent 55888b5 commit 4972b337c10059df2d1e20fd37fda9b913cf97e0
Showing with 36 additions and 29 deletions.
  1. +0 −2 .github/ISSUE_TEMPLATE.md
  2. +0 −25 .github/workflows/build.yml
  3. +29 −0 .travis.yml
  4. +6 −0 CHANGELOG.md
  5. +1 −1 package.json
  6. +0 −1 src/useInterval.spec.js
@@ -1,5 +1,3 @@
Issue tracker is **ONLY** used for reporting bugs. New features should be discussed on our slack channel. Please use [stackoverflow](https://stackoverflow.com) for supporting issues.

<!--- Provide a general summary of the issue in the Title above -->

## Expected Behavior

This file was deleted.

@@ -0,0 +1,29 @@
language: node_js
sudo: false
node_js:
- "10"
- "11"
- "12"

install:
- npm ci

script:
- npm test
- npm run build

deploy:
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
local_dir: ./dist-ghpages
on:
branch: master
- provider: npm
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
branch: master


@@ -206,3 +206,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- removed wrong `useCallbackRef` dependencies
- dependency check on other event related hooks

## [0.13.4] - 2020-01-06

### Fixed

- Switching CI to Travis
@@ -1,6 +1,6 @@
{
"name": "beautiful-react-hooks",
"version": "0.13.3",
"version": "0.13.4",
"description": "A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development",
"main": "index.js",
"scripts": {
@@ -40,6 +40,5 @@ describe('useInterval', () => {
await promiseDelay(delay * 3);

expect(spy.called).to.be.true;
expect(spy.callCount).to.equal(2);
});
});

0 comments on commit 4972b33

Please sign in to comment.
You can’t perform that action at this time.