Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

ci(test): Travis → Circle #671

Merged
merged 14 commits into from
May 2, 2019
Merged

ci(test): Travis → Circle #671

merged 14 commits into from
May 2, 2019

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Apr 30, 2019

  • config file with same setup
  • purging unused devDeps
  • purging unused scripts

@Haroenv Haroenv requested a review from a team April 30, 2019 12:29
@@ -7,19 +7,14 @@
"scripts": {
"watch": "watchify index.js -v -s algoliasearchHelper -o dist/algoliasearch.helper.js",
"build": "./scripts/build.sh",
"dev": "DEBUG=zuul* zuul --no-coverage --local 8090 test/run.js",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these didn't work anymore since #624

"lint:watch": "onchange 'src/**/*js' 'index.js' 'test/**/*js' '.eslintrc' -- npm run -s lint",
"open": "sleep 1 && opn http://localhost:8080/examples",
"examples": "npm run build & npm run open & http-server .",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these didn't work anymore since the examples moved to codepen, years ago

"doc": "gulp --gulpfile documentation-src/build.gulp.js doc",
"doc:watch": "gulp --gulpfile documentation-src/build.gulp.js doc:watch",
"doc:publish": "yarn run doc && gh-pages -d documentation",
"doc:staging": "scripts/staging-doc.sh",
"readme:toc": "doctoc --notitle README.md --maxlevel 3",
"test": "scripts/test.sh",
"test:ci": "scripts/test-ci.sh",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaced by circle script

@@ -83,25 +75,19 @@
"metalsmith-serve": "0.0.7",
"metalsmith-watch": "1.0.3",
"metalsmith-webpack": "1.0.3",
"mkdirp": "0.5.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couldn't find a usage for this

"pretty-bytes-cli": "2.0.0",
"prompt": "1.0.0",
"pug": "^2.0.3",
"replace-ext": "1.0.0",
"rimraf": "2.6.3",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couldn't find usage of these

scripts/build.sh Outdated Show resolved Hide resolved

echo "Test: lint"
./scripts/lint.sh
node test/run.js
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this should just be in package.json too

@@ -7,13 +7,9 @@ var algoliasearchHelper = utils.isCIBrowser ? window.algoliasearchHelper : requi

var random = require('lodash/random');

if (!utils.shouldRun) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this util was for browser compat, which isn't possible anymore with Jest

module.exports = {
isCIBrowser: process.browser && process.env.TRAVIS_BUILD_NUMBER,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was for browser compat

scripts/build.sh Outdated Show resolved Hide resolved
.circleci/config.yml Outdated Show resolved Hide resolved
samouss and others added 2 commits April 30, 2019 16:13
Co-Authored-By: Haroenv <fingebimus@me.com>
.circleci/config.yml Outdated Show resolved Hide resolved
.circleci/config.yml Outdated Show resolved Hide resolved
@Haroenv Haroenv merged commit 5837dfd into develop May 2, 2019
@Haroenv Haroenv deleted the ci/circle branch May 2, 2019 10:38
Haroenv added a commit that referenced this pull request May 2, 2019
* ci(circle): add config file

* chore(nvm): consistent version

* chore(pkg): remove unused scripts & packages

* ci: remove unused scripts

* ci(circle): correct config

* ci: also run docs

* ci(circle): remove browser leftovers

* ci(circle): more fitting index name

* ci: replace travis build by circle build

* ci: simplify scripts

* remove utils.isCIBrowser

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>

* ci(circle): change naming

* chore(ci): consistent naming
Haroenv added a commit that referenced this pull request May 7, 2019
* ci(circle): add config file

* chore(nvm): consistent version

* chore(pkg): remove unused scripts & packages

* ci: remove unused scripts

* ci(circle): correct config

* ci: also run docs

* ci(circle): remove browser leftovers

* ci(circle): more fitting index name

* ci: replace travis build by circle build

* ci: simplify scripts

* remove utils.isCIBrowser

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>

* ci(circle): change naming

* chore(ci): consistent naming
Haroenv added a commit that referenced this pull request May 7, 2019
* ci(circle): add config file

* chore(nvm): consistent version

* chore(pkg): remove unused scripts & packages

* ci: remove unused scripts

* ci(circle): correct config

* ci: also run docs

* ci(circle): remove browser leftovers

* ci(circle): more fitting index name

* ci: replace travis build by circle build

* ci: simplify scripts

* remove utils.isCIBrowser

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>

* ci(circle): change naming

* chore(ci): consistent naming
Haroenv added a commit that referenced this pull request May 7, 2019
 * 2.27.0 - 2019-04-12 4939f6f, closes #640 #646
 * Update README.md 059481d
 * chore(build): add source map support (#654) 42ea2d5
 * chore(deps): update dependency algolia-frontend-components to v0.0.35 (#605) 41043af
 * chore(deps): update dependency algoliasearch to v3.32.0 (#628) e5cab52
 * chore(deps): update dependency babel-core to v6.26.3 (#581) 051075c
 * chore(deps): update dependency browserify to v14.5.0 (#582) 66e2a79
 * chore(deps): update dependency handlebars to v4.1.0 (#589) bf1c493
 * chore(deps): update dependency http-server to v0.11.1 (#590) 673ee5f
 * chore: use only yarn (no more npm 👩‍🚒) (#637) dba85a0
 * chore(deps): update dependency mversion to v1.13.0 (#630) 1304f19
 * chore(deps): update dependency rimraf to v2.6.3 (#596) 5e17830
 * chore(deps): update st (#625) 5d7d915
 * chore(docs): change jade to pug (#615) 80a20dc, closes #613
 * chore(docs): fix interpolation dd888f2
 * chore(docs): remove folder in  (#616) 7bfc971
 * chore(Jest): enable typeahead plugin (#668) 029e11c
 * chore(Jest): setup migration (#659) 2bf5e10
 * chore(Travis): build all branches (#669) bc2eb18
 * ci(test): Travis → Circle (#671) 2442ab0
 * docs(init): use toggleFacetRefinement instead (#622) 2461ffe
 * docs(instantiate): use existing signature of toggleRefine (#621) 6be5ec1
 * docs: fix InstantSearch link (#640) 2c97a71, closes #640
 * docs: fix typo on hierarchical facets (#646) ee5b3b4, closes #646
 * feat(sffv): throw an error if it's called and the client doesn't have the functions (#623) dd61360
 * fix(ua): change the User-Agent to use the new specs lib (version) (#647) eafd4cf
 * refactor(events): replace util.inherits by inline (#653) 16459ae
 * test(client): update index name (#619) 3564274
Haroenv added a commit that referenced this pull request May 7, 2019
* ci(circle): add config file

* chore(nvm): consistent version

* chore(pkg): remove unused scripts & packages

* ci: remove unused scripts

* ci(circle): correct config

* ci: also run docs

* ci(circle): remove browser leftovers

* ci(circle): more fitting index name

* ci: replace travis build by circle build

* ci: simplify scripts

* remove utils.isCIBrowser

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>

* ci(circle): change naming

* chore(ci): consistent naming
Haroenv added a commit that referenced this pull request May 7, 2019
* ci(circle): add config file

* chore(nvm): consistent version

* chore(pkg): remove unused scripts & packages

* ci: remove unused scripts

* ci(circle): correct config

* ci: also run docs

* ci(circle): remove browser leftovers

* ci(circle): more fitting index name

* ci: replace travis build by circle build

* ci: simplify scripts

* remove utils.isCIBrowser

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>

* ci(circle): change naming

* chore(ci): consistent naming
dhayab pushed a commit to algolia/instantsearch that referenced this pull request Jul 10, 2023
* ci(circle): add config file

* chore(nvm): consistent version

* chore(pkg): remove unused scripts & packages

* ci: remove unused scripts

* ci(circle): correct config

* ci: also run docs

* ci(circle): remove browser leftovers

* ci(circle): more fitting index name

* ci: replace travis build by circle build

* ci: simplify scripts

* remove utils.isCIBrowser

* Update scripts/build.sh

Co-Authored-By: Haroenv <fingebimus@me.com>

* ci(circle): change naming

* chore(ci): consistent naming
dhayab pushed a commit to algolia/instantsearch that referenced this pull request Jul 10, 2023
 * 2.27.0 - 2019-04-12 algolia/algoliasearch-helper-js@67a07c1, closes algolia/algoliasearch-helper-js#640 algolia/algoliasearch-helper-js#646
 * Update README.md algolia/algoliasearch-helper-js@6c40a66
 * chore(build): add source map support (algolia/algoliasearch-helper-js#654) algolia/algoliasearch-helper-js@25635fc
 * chore(deps): update dependency algolia-frontend-components to v0.0.35 (algolia/algoliasearch-helper-js#605) algolia/algoliasearch-helper-js@0bb3578
 * chore(deps): update dependency algoliasearch to v3.32.0 (algolia/algoliasearch-helper-js#628) algolia/algoliasearch-helper-js@39cb552
 * chore(deps): update dependency babel-core to v6.26.3 (algolia/algoliasearch-helper-js#581) algolia/algoliasearch-helper-js@83213d7
 * chore(deps): update dependency browserify to v14.5.0 (algolia/algoliasearch-helper-js#582) algolia/algoliasearch-helper-js@855cf5d
 * chore(deps): update dependency handlebars to v4.1.0 (algolia/algoliasearch-helper-js#589) algolia/algoliasearch-helper-js@28fd11b
 * chore(deps): update dependency http-server to v0.11.1 (algolia/algoliasearch-helper-js#590) algolia/algoliasearch-helper-js@9534c17
 * chore: use only yarn (no more npm 👩‍🚒) (algolia/algoliasearch-helper-js#637) algolia/algoliasearch-helper-js@b5b0952
 * chore(deps): update dependency mversion to v1.13.0 (algolia/algoliasearch-helper-js#630) algolia/algoliasearch-helper-js@20dce48
 * chore(deps): update dependency rimraf to v2.6.3 (algolia/algoliasearch-helper-js#596) algolia/algoliasearch-helper-js@0ed5fa9
 * chore(deps): update st (algolia/algoliasearch-helper-js#625) algolia/algoliasearch-helper-js@81a30b5
 * chore(docs): change jade to pug (algolia/algoliasearch-helper-js#615) algolia/algoliasearch-helper-js@f1ef3b0, closes algolia/algoliasearch-helper-js#613
 * chore(docs): fix interpolation algolia/algoliasearch-helper-js@d591977
 * chore(docs): remove folder in  (algolia/algoliasearch-helper-js#616) algolia/algoliasearch-helper-js@0e9332f
 * chore(Jest): enable typeahead plugin (algolia/algoliasearch-helper-js#668) algolia/algoliasearch-helper-js@e88c115
 * chore(Jest): setup migration (algolia/algoliasearch-helper-js#659) algolia/algoliasearch-helper-js@6dfb8ad
 * chore(Travis): build all branches (algolia/algoliasearch-helper-js#669) algolia/algoliasearch-helper-js@0c27d0b
 * ci(test): Travis → Circle (algolia/algoliasearch-helper-js#671) algolia/algoliasearch-helper-js@7b9c540
 * docs(init): use toggleFacetRefinement instead (algolia/algoliasearch-helper-js#622) algolia/algoliasearch-helper-js@d07614b
 * docs(instantiate): use existing signature of toggleRefine (algolia/algoliasearch-helper-js#621) algolia/algoliasearch-helper-js@c35bec9
 * docs: fix InstantSearch link (algolia/algoliasearch-helper-js#640) algolia/algoliasearch-helper-js@66dfa0c, closes algolia/algoliasearch-helper-js#640
 * docs: fix typo on hierarchical facets (algolia/algoliasearch-helper-js#646) algolia/algoliasearch-helper-js@940e2c6, closes algolia/algoliasearch-helper-js#646
 * feat(sffv): throw an error if it's called and the client doesn't have the functions (algolia/algoliasearch-helper-js#623) algolia/algoliasearch-helper-js@9002c31
 * fix(ua): change the User-Agent to use the new specs lib (version) (algolia/algoliasearch-helper-js#647) algolia/algoliasearch-helper-js@ec2c6ee
 * refactor(events): replace util.inherits by inline (algolia/algoliasearch-helper-js#653) algolia/algoliasearch-helper-js@0e227f9
 * test(client): update index name (algolia/algoliasearch-helper-js#619) algolia/algoliasearch-helper-js@ba68a3c
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants