Skip to content

Commit 65e45ca

Browse files
author
Juanjo Alvarez
committed
Added CI
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
1 parent 4e5f37e commit 65e45ca

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: python
2+
sudo: true
3+
dist: xenial
4+
services:
5+
- docker
6+
cache:
7+
directories:
8+
- $HOME/.cache/pip
9+
python:
10+
- "3.5"
11+
- "3.6"
12+
- "3.7"
13+
install:
14+
- pip3 install --upgrade pip
15+
- pip3 install -r requirements.txt
16+
- pip3 install . --upgrade
17+
script:
18+
- docker run --name bblfshd -d --privileged -p 9432:9432 bblfsh/bblfshd
19+
- docker exec -it bblfshd bblfshctl driver install java bblfsh/java-driver:v2.1.0
20+
- cd tests && python3 -m unittest discover -v
21+
notifications:
22+
email: false

bblfsh_sonar_checks/__main__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
run_check, run_checks, list_checks, get_check_description
99
)
1010

11-
# FIXME XXX: allow to specify just the check number, without the RSPEC- prefix
12-
# FIXME XXX:
1311
def parse_arguments() -> argparse.Namespace:
1412
parser = argparse.ArgumentParser()
1513
parser.add_argument("-l", "--language", type=str, help="Language for the file or listings", required=True)

0 commit comments

Comments
 (0)