Skip to content

Commit

Permalink
Fixing build in node 8, 10 and 12
Browse files Browse the repository at this point in the history
Ticket: #42

This commit:
- Removes curl_request dependency
- Replaces curl_request code in unit test to use native node js request and ensure long lasting support through node versions.
- Bump up Jest to v 23 to support Node 12 safely.
- Adds login to Docker in travis file to avoid pull rate limit errors.
  • Loading branch information
latin-panda authored Mar 24, 2021
1 parent 34f1d2a commit f29d508
Show file tree
Hide file tree
Showing 4 changed files with 2,258 additions and 2,901 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@ language: node_js
node_js:
- "8"
- "10"
- "12"

services:
- docker

env:
global:
#CI_DOCKER_PASSWORD
secure: XimlsIRTuP0u/sKpLav046CLS65RrKV0oKFKWCudfNQE7VUw7GWnKdMM4LJwprB4p5YSL/M4mEdMku/hdJhCx9YTlzQ5+O9qJ8Yiz9inqJKsz1lzoFxs8nhRlFTzpxi/c0EVmDH5J0nkRJvVZfpNML2GRPOsoYtiCnZF9dP5b9bxthJVgZq+gX9SNF61pmI0qtNiS7fsQ++4UYu5EZK/7Dmzi7mbEQGrfEcn8sgb3ywPnzSQQPwPQh4tUfLH/8JzTfBM9HFt0pd5vIdhjvxl7I88pdRCa61Yw7CZWOWhseVwcdMtANz3B8flOigd80WW/UHydRyKjfWDFD/XH6aR6sUqfa/fskHPYrpc6HXDIFS9D3TPU48ujGEtRbMbRNkAAVrAK4H9VqhL4WXjMOOUT4F5RrpcHE2jxj62F1u2jNljXpn75huHDKBh1nEGJ141HeRdJB+6chq9Ys7syvG0b98TMG7GQlG4pF1c2Zi2cewDrgc7N1wL4bwICBPXFphwxWz8MNzvVu9MmeF4O5T4RRv3274MdH9sq1YgEvt+tyPBU3YVQOE0VOUxj7QcQx/2f3Ye46sA/62YKp9itHjj1Arq9eHZZmwub5yPWRCedTQWSgzlSfvXHSP0o6ALVw7EBIYZdjuK8XZZIMyfVZ9IcOQM+b6vrvlj+yQhMmHH0TU=

before_install:
- echo "$CI_DOCKER_PASSWORD" | docker login -u "$CI_DOCKER_USERNAME" --password-stdin

script:
- docker-compose build --build-arg node_version=${TRAVIS_NODE_VERSION} test
- docker-compose run test grunt ci
Expand Down
Loading

0 comments on commit f29d508

Please sign in to comment.