diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a785bcb091..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,72 +0,0 @@ -language: node_js -node_js: - - "12" - -addons: - chrome: stable - -branches: - only: - - master - - beta - - release - - next - # release branches - - /^(?:release|lts)-\d+-\d+$/ - # npm version tags - - /^v\d+\.\d+\.\d+/ - -cache: - yarn: true - directories: - - $HOME/.npm - - $HOME/.cache # includes bower's cache - -stages: - - basic test - - additional tests - - name: deploy - if: type IN (push) AND branch = release - -jobs: - allow_failures: - - node_js: 8 - - include: - - stage: basic test - name: Basic Tests - script: - - yarn lint - - yarn test - - - stage: additional tests - name: Node.js 10 - node_js: 10 - - - name: Node.js 12 - node_js: 12 - - - name: Node.js 13 - node_js: 13 - - - env: EMBER_CLI_ENABLE_ALL_EXPERIMENTS=true - - env: EMBER_CLI_PACKAGER=true - - - stage: deploy - name: Publish API Docs - script: skip - deploy: - provider: script - script: ./.travis/deploy.sh - -before_install: - # prevent the npm loading indicator - - npm config --global set spin false - - # travis currently includes yarn v0.17.8 (20170705) - # this isn't new enough for our use of --non-interactive - - curl -o- -L https://yarnpkg.com/install.sh | bash - - export PATH=$HOME/.yarn/bin:$PATH - -script: - - yarn test:all diff --git a/.travis/deploy.sh b/.travis/deploy.sh deleted file mode 100755 index a175b121ce..0000000000 --- a/.travis/deploy.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -set -e - -eval "$(ssh-agent -s)" - -openssl aes-256-cbc -K $encrypted_c177ff031535_key -iv $encrypted_c177ff031535_iv -in .travis/deploy_key.pem.enc -out .travis/deploy_key.pem -d -chmod 600 .travis/deploy_key.pem -ssh-add .travis/deploy_key.pem - -rm -rf docs/build -npm run docs -cd docs/build - -git init -git config user.name "Travis" -git config user.email "noreply@travis-ci.org" -git add . -git commit -m "Deploy to GitHub Pages" -git push --force --quiet git@github.com:ember-cli/api.git master:gh-pages > /dev/null 2>&1 diff --git a/.travis/deploy_key.pem.enc b/.travis/deploy_key.pem.enc deleted file mode 100644 index 87f11ee51d..0000000000 Binary files a/.travis/deploy_key.pem.enc and /dev/null differ diff --git a/.travis/deploy_key.pem.pub b/.travis/deploy_key.pem.pub deleted file mode 100644 index 3e1c704b82..0000000000 --- a/.travis/deploy_key.pem.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCstb7To736Qn6i5iXrpeVeTz+1mldSq0r25KrNMY1PYJRmKEgyh8qrQnUz4qV89vblGU9HDfdiLAXepRk115Ma3B3bIUa6lLqyLDYkyKdpnwOh2X6HqxSkSkS+0wamPkwM9KDDRs9l+lYKWeYggkvkmw8JffKevbPAEyp6k0IOkDbdlwxq6MJnkqcXSm962Gpp/5nrRlxbMeTn0KnHjKASZEwaEafy3W9IAkoT254qWX4oc9k+Uj7IY91ASBkOz1TaR7N1ZMrbDUSjS3lIpenSEIuXkvkob8YVNOu9KqJ9eNofud5vwmoKe6g1+CAQiq2P21/cyGeetgruOVVL+1HV diff --git a/README.md b/README.md index 86b4819eb2..bfc0f563a0 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ ember-cli ============================================================================== [![Latest npm release][npm-badge]][npm-badge-url] -[![TravisCI Build Status][travis-badge]][travis-badge-url] [![GitHub Actions CI][github-actions-badge]][github-actions-ci-url] [![Test Coverage][coveralls-badge]][coveralls-badge-url] [![Code Climate][codeclimate-badge]][codeclimate-badge-url] @@ -11,8 +10,6 @@ ember-cli [logo]: https://avatars0.githubusercontent.com/u/10262982?v=3&s=150 [npm-badge]: https://img.shields.io/npm/v/ember-cli.svg [npm-badge-url]: https://www.npmjs.com/package/ember-cli -[travis-badge]: https://img.shields.io/travis/ember-cli/ember-cli/master.svg?label=TravisCI -[travis-badge-url]: https://travis-ci.org/ember-cli/ember-cli [coveralls-badge]: https://img.shields.io/coveralls/ember-cli/ember-cli/master.svg [coveralls-badge-url]: https://coveralls.io/github/ember-cli/ember-cli [codeclimate-badge]: https://codeclimate.com/github/ember-cli/ember-cli/badges/gpa.svg diff --git a/docs/build-concurrency.md b/docs/build-concurrency.md index 3f91c60eb2..2960f2cac9 100644 --- a/docs/build-concurrency.md +++ b/docs/build-concurrency.md @@ -9,7 +9,7 @@ The default value for `process.env.JOBS` is (max concurrency) - 1 (via `require('os').cpus().length - 1`), however there may be times when you need to customize this value to avoid issues. -The most common case for this is in CI systems like TravisCI and CircleCI where -the total number of CPU's available on the system is very large (> 32) but the -individual CI jobs are limited to only 1.5 or 2 concurrent processes. - +The most common case for this is in CI systems like GitHub Actions, TravisCI, +and CircleCI where the total number of CPU's available on the system is very +large (> 32) but the individual CI jobs are limited to only 1.5 or 2 concurrent +processes. diff --git a/docs/code-coverage.md b/docs/code-coverage.md index 05f59387d4..c2b9d391ff 100644 --- a/docs/code-coverage.md +++ b/docs/code-coverage.md @@ -7,7 +7,8 @@ Code coverage information is generated using [istanbuljs](https://github.com/ist and then later uploaded to both [Coveralls](https://coveralls.io/github/ember-cli/ember-cli) and [Code Climate](https://codeclimate.com/github/ember-cli/ember-cli) via -[`.travis/codecoverage.sh`](../.travis/codecoverage.sh) after each Pull Request. +[`.github/workflows/coverage.yml`](../.github/workflows/coverage.yml) after each Pull Request. -`CODECLIMATE_REPO_TOKEN`, `COVERALLS_REPO_TOKEN` and `COVERALLS_SERVICE_NAME` are set via Travis CI -Settings and not exposed to the public as they are private tokens. +`CC_TEST_REPORTER_ID` is set via [GitHub encrypted +secrets](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) +and not exposed to the public as they are private tokens. diff --git a/tests/fixtures/smoke-tests/js-testem-config/testem.js b/tests/fixtures/smoke-tests/js-testem-config/testem.js index a3cb08b46c..a2f44c434d 100644 --- a/tests/fixtures/smoke-tests/js-testem-config/testem.js +++ b/tests/fixtures/smoke-tests/js-testem-config/testem.js @@ -13,7 +13,7 @@ module.exports = { "browser_args": { "Chrome": [ // --no-sandbox is needed when running Chrome inside a container - process.env.TRAVIS ? '--no-sandbox' : null, + process.env.CI ? '--no-sandbox' : null, "--headless", "--remote-debugging-port=0",