Repository: gsquire/sendgrid-rs (language: rust)

Issue:
Move to GitHub CI



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..7aa963c
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,38 @@
+on: [push, pull_request]
+
+name: CI
+
+jobs:
+  check:
+    name: test
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout sources
+        uses: actions/checkout@v2
+
+      - name: Install stable toolchain
+        uses: actions-rs/toolchain@v1
+        with:
+          profile: minimal
+          toolchain: stable
+          override: true
+
+      - uses: actions-rs/cargo@v1
+        with:
+          command: test
+          args: --no-default-features --features native-tls,blocking
+
+      - uses: actions-rs/cargo@v1
+        with:
+          command: test
+          args: --no-default-features --features rustls,blocking
+
+      - uses: actions-rs/cargo@v1
+        with:
+          command: test
+          args: --no-default-features --features native-tls,async
+
+      - uses: actions-rs/cargo@v1
+        with:
+          command: test
+          args: --no-default-features --features rustls,async
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index b33ca36..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-language: rust
-os:
-    - linux
-    - osx
-rust:
-    - stable
-    - nightly
-matrix:
-    allow_failures:
-        - rust: nightly
-script:
-    - cargo test
-    - cargo test --no-default-features --features native-tls,blocking
-    - cargo test --no-default-features --features rustls,blocking
-    - cargo test --no-default-features --features native-tls,async
-    - cargo test --no-default-features --features rustls,async
-
-notifications:
-    email: false


Test patch: