nficano commited on
Commit
07053ce
·
1 Parent(s): 008fa9d

another travis attempt

Browse files
Files changed (2) hide show
  1. .travis.yml +7 -6
  2. Makefile +7 -0
.travis.yml CHANGED
@@ -8,16 +8,17 @@ python:
8
  - "3.5"
9
  - "3.6"
10
  - "3.6-dev"
11
- before_script: flake8
 
 
 
12
  before_install:
13
- - sudo apt-get install -y software-properties-common
14
- - sudo apt-get install -y python-software-properties
15
- - sudo apt-get install -y pipenv
16
- - sudo apt-get install -y python-pip
17
  - sudo apt-get install -y libpython-dev
18
  - sudo apt-get install -y libyaml-dev
19
  - sudo apt-get install -y python-dev
20
- script: pipenv run pytest --cov-report term-missing --cov=pytube
 
 
21
  sudo: required
22
  after_success:
23
  coveralls
 
8
  - "3.5"
9
  - "3.6"
10
  - "3.6-dev"
11
+ install: "make"
12
+ script:
13
+ - make ci
14
+ # before_script: flake8
15
  before_install:
 
 
 
 
16
  - sudo apt-get install -y libpython-dev
17
  - sudo apt-get install -y libyaml-dev
18
  - sudo apt-get install -y python-dev
19
+ - sudo apt-get install -y python-pip
20
+ - sudo apt-get install -y python-software-properties
21
+ - sudo apt-get install -y software-properties-common
22
  sudo: required
23
  after_success:
24
  coveralls
Makefile CHANGED
@@ -4,6 +4,13 @@ help:
4
  @echo "clean-pyc - remove Python file artifacts"
5
  @echo "install - install the package to the active Python's site-packages"
6
 
 
 
 
 
 
 
 
7
  clean: clean-build clean-pyc
8
 
9
  clean-build:
 
4
  @echo "clean-pyc - remove Python file artifacts"
5
  @echo "install - install the package to the active Python's site-packages"
6
 
7
+ init:
8
+ pip install pipenv
9
+ pipenv install --dev
10
+
11
+ ci:
12
+ pipenv run pytest --cov-report term-missing --cov=pytube
13
+
14
  clean: clean-build clean-pyc
15
 
16
  clean-build: