From dec5497a5679d8f0db4f450c6500fade2858abae Mon Sep 17 00:00:00 2001 From: Julien Bisconti Date: Sun, 15 Mar 2020 10:33:02 +0100 Subject: [PATCH] Update travis --- .github/workflows/build.yaml.txt | 33 ------------------------------ .github/workflows/check_links.yaml | 23 --------------------- .travis.yml | 24 ++++------------------ 3 files changed, 4 insertions(+), 76 deletions(-) delete mode 100644 .github/workflows/build.yaml.txt delete mode 100644 .github/workflows/check_links.yaml diff --git a/.github/workflows/build.yaml.txt b/.github/workflows/build.yaml.txt deleted file mode 100644 index 73e1849..0000000 --- a/.github/workflows/build.yaml.txt +++ /dev/null @@ -1,33 +0,0 @@ -name: Build site - -on: - push: - branches: - - master - paths: - - '.github/workflows/build.yml' - - 'README.md' - -jobs: - build_site: - runs-on: ubuntu-latest - name: Build site - steps: - - uses: actions/checkout@master - with: - fetch-depth: 1 - - uses: actions/setup-node@master - with: - node-version: '12.x' - - name: Determine npm cache directory - id: npm-cache - run: | - echo "::set-output name=dir::$(npm config get cache)" - - name: Restore npm cache - uses: actions/cache@v1 - with: - path: ${{ steps.npm-cache.outputs.dir }} - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - run: npm run build diff --git a/.github/workflows/check_links.yaml b/.github/workflows/check_links.yaml deleted file mode 100644 index f33c142..0000000 --- a/.github/workflows/check_links.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: Check links - -on: - push: - paths: - - '.github/workflows/check_links.yaml' - - 'README.md' - -jobs: - check_links: - runs-on: ubuntu-latest - name: Check links - steps: - - uses: actions/checkout@master - with: - fetch-depth: 1 - - uses: actions/setup-ruby@v1 - with: - ruby-version: '2.6' - - name: Awesome bot checking - run: | - gem install awesome_bot - awesome_bot README.md --white-list edit/master,sindresorhus/awesome,www.udacity.com,screwdriver.cd,veggiemonk/awesome-docker,vimeo.com,cycle.io,www.youtube.com \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 2d41f38..1ce77ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,7 @@ -# This is a weird way of telling Travis to use the fast container-based test -# runner instead of the slow VM-based runner. -sudo: false - -language: node_js - -# Only clone the most recent commit. -git: - depth: 1 - -# keep cache of the deps -cache: - directories: - - 'node_modules' - -before_install: - - rvm install 2.2 - +language: ruby +rvm: + - 2.6.5 before_script: - gem install awesome_bot - script: - - awesome_bot README.md --white-list edit/master,sindresorhus/awesome,www.udacity.com,screwdriver.cd,veggiemonk/awesome-docker,vimeo.com,cycle.io,www.youtube.com + - awesome_bot README.md \ No newline at end of file