Skip to content

Commit 95cfb5c

Browse files
committed
cleaning up some codacity warnings
1 parent e77f2b6 commit 95cfb5c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ UAVCAN stack in C++
33

44
[![Build Status](https://badge.buildkite.com/af844974c06af6406e3b2192d98298b02b30f6ebebb5f8b16c.svg)](https://buildkite.com/uavcan/libuavcan-v1)
55
[![Forum](https://img.shields.io/discourse/https/forum.uavcan.org/users.svg)](https://forum.uavcan.org)
6+
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/5d487b332d99498699a0af687fa513a1)](https://www.codacy.com/app/UAVCAN/libuavcan_v1?utm_source=github.com&utm_medium=referral&utm_content=UAVCAN/libuavcan&utm_campaign=Badge_Grade)
67

78
Portable reference implementation of the [UAVCAN protocol stack](https://new.uavcan.org) in C++ for embedded systems, Linux, and POSIX-compliant RTOSs.
89

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Builds a docker image for test and validation builds.
33
#
4-
FROM uavcan/libuavcan
4+
FROM uavcan/libuavcan:1.0
55

66
VOLUME /repo
77

docker/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ for development, continuous-integration, and test automation.
77

88
(these instructions assume you have docker installed and running)
99

10-
```
10+
```bash
1111
cd /path/to/libuavcan
1212

1313
docker pull uavcan/libuavcan:latest
@@ -21,23 +21,23 @@ docker run --rm -t -v /path/to/libuavcan/build:/repo uavcan/libuavcan:latest /bi
2121

2222
On macintosh you'll probably want to optimize osxfs with something like cached or delegated:
2323

24-
```
24+
```bash
2525
docker run --rm -t -v /path/to/libuavcan/build:/repo:delegated uavcan/libuavcan:latest /bin/sh -c 'cd build_docker && mkdir make -j8'
2626
```
2727

2828
See ["Performance tuning for volume mounts"](https://docs.docker.com/docker-for-mac/osxfs-caching/) for details.
2929

3030
Finally, to enter an interactive shell in this container something like this should work:
3131

32-
```
32+
```bash
3333
docker run --rm -it -v /path/to/libuavcan:/repo uavcan/libuavcan:latest
3434
```
3535

3636
## Travis CI
3737

3838
You can use this in your .travis.yml like this:
3939

40-
```
40+
```bash
4141
language: cpp
4242

4343
services:
@@ -55,16 +55,16 @@ script:
5555

5656
These instructions are for maintainers with permissions to push to the [uavcan organization on Docker Hub](https://cloud.docker.com/u/uavcan).
5757

58-
```
58+
```bash
5959
docker build .
6060
```
61-
```
61+
```bash
6262
docker images
6363

6464
REPOSITORY TAG IMAGE ID CREATED SIZE
6565
<none> <none> 736647481ad3 About a minute ago 1GB
6666
```
67-
```
67+
```bash
6868
docker tag 736647481ad3 uavcan/libuavcan:latest
6969
docker login --username=yourhubusername
7070
docker push uavcan/libuavcan:latest

0 commit comments

Comments
 (0)