-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
35 lines (29 loc) · 869 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: python
os:
- linux
# disabled since travis CI doesn't support python build on OSX and Window
# (https://docs.travis-ci.com/user/languages/python/)
# - osx
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
addons:
apt:
packages:
- valgrind
# before_install:
# - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
# - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install valgrind; fi
install:
- pip install -e .
- pip install -r requirements-dev.txt
- git clone --recurse-submodule https://github.com/ouaisbrefbams/minishell /tmp/minishell
- sed -i 's/-Werror//' /tmp/minishell/Makefile /tmp/minishell/libft/Makefile
script:
- python -m flake8 minishell_test
- python -m mypy minishell_test
- python -m pytest -vvv
- python -m minishell_test -p /tmp/minishell
- python -m minishell_test -p /tmp/minishell -k pwd