Skip to content

Commit

Permalink
travis to arduino-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTM (Pololu) committed Dec 17, 2020
1 parent a0841e3 commit 75fe48e
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 25 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yaml
@@ -0,0 +1,19 @@
name: "CI"
on:
pull_request:
push:
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- name: Checkout this repository
uses: actions/checkout@v2.3.4
- name: Cache for arduino-ci
uses: actions/cache@v2.1.3
with:
path: |
~/.arduino15
key: ${{ runner.os }}-arduino
- name: Install nix
uses: cachix/install-nix-action@v12
- run: nix-shell -I nixpkgs=channel:nixpkgs-unstable -p arduino-ci --run "arduino-ci"
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
/docs/
/out/
11 changes: 11 additions & 0 deletions .gitlab-ci.yml
@@ -0,0 +1,11 @@
image: $CI_REGISTRY_IMAGE/nixos/nix:2.3.6

stages:
- ci

ci:
stage: ci
tags:
- nix
script:
- nix-shell -I nixpkgs=channel:nixpkgs-unstable -p arduino-ci --run "arduino-ci"
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Expand Up @@ -2,7 +2,6 @@

Version: 3.0.1 <br>
Release date: 2016-08-17 <br>
[![Build Status](https://travis-ci.org/pololu/lsm303-arduino.svg?branch=master)](https://travis-ci.org/pololu/lsm303-arduino)<br>
[www.pololu.com](https://www.pololu.com/)

## Summary
Expand Down

0 comments on commit 75fe48e

Please sign in to comment.