From ea898d735218c07a27d659dfbb3df9ad976aeeb5 Mon Sep 17 00:00:00 2001 From: Rob Date: Sat, 10 Apr 2021 20:19:11 -0600 Subject: [PATCH] add github actions CI --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ .travis.yml | 8 -------- LICENSE | 2 +- 3 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..80efe6e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: Tests +on: + schedule: + - cron: '0 10 1 * *' + pull_request: + branches: + - master + push: + branches: + - master +jobs: + build: + name: Test + runs-on: ubuntu-latest + + container: + image: crystallang/crystal:latest + + steps: + - uses: actions/checkout@v2 + - run: crystal --version + - run: shards install + - run: crystal spec + - run: crystal run examples/test.cr + - run: crystal run examples/test2.cr diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 56da410..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: crystal -crystal: - - latest - - nightly -script: - - crystal spec - - crystal run examples/test.cr - - crystal run examples/test2.cr diff --git a/LICENSE b/LICENSE index 7c5fa78..5f2c079 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 Aşkın Gedik +Copyright (c) 2021 Aşkın Gedik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal