build: Update CI infrastructure for "master" -> "main" rename

Also remove obsolete Travis build status from the README.md.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2021-08-24 14:16:57 +01:00
parent 25ed8722c7
commit 760031103e
5 changed files with 10 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ jobs:
- name: Debug Check (default features)
run: |
git rev-list origin/master..$GITHUB_SHA | xargs -t -I % sh -c 'git checkout %; cargo check --all --target=${{ matrix.target }}'
git rev-list origin/main..$GITHUB_SHA | xargs -t -I % sh -c 'git checkout %; cargo check --all --target=${{ matrix.target }}'
git checkout $GITHUB_SHA
- name: Build (acpi,kvm)

View File

@@ -2,7 +2,7 @@ name: Cloud-Hypervisor's Docker image update
on:
push:
branches: master
branches: main
paths: resources/Dockerfile
jobs: