Skip to content

Commit

Permalink
Reindentation and minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiTronix committed Jul 21, 2019
1 parent b07d5b1 commit ef327b6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
@@ -1,5 +1,5 @@
---
language: python

before_install:
- "sudo add-apt-repository ppa:jonathonf/ffmpeg-4 -y"
- "sudo apt-get update -q"
Expand All @@ -9,10 +9,13 @@ before_install:
- "chmod +x scripts/bash/prepare_dataset.sh"
- "dos2unix scripts/bash/install_opencv.sh"
- "chmod +x scripts/bash/install_opencv.sh"

branches:
only:
- testing

cache: pip

install:
- "pip install --upgrade pip wheel"
- "pip install --upgrade numpy"
Expand All @@ -21,14 +24,18 @@ install:
- "pip install six"
- "pip install --upgrade pytest"
- "pip install --upgrade youtube-dl"

dist: xenial

python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"

before_script:
- bash scripts/bash/install_opencv.sh
- bash scripts/bash/prepare_dataset.sh

script:
- python -m pytest -sv
6 changes: 6 additions & 0 deletions appveyor.yml
Expand Up @@ -31,13 +31,18 @@ environment:
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"

build: off

version: '{branch}-{build}'

cache:
- '%LOCALAPPDATA%\pip\Cache'

branches:
only:
- testing

matrix:
fast_finish: true

Expand All @@ -51,5 +56,6 @@ install:
- "python -m pip install --upgrade youtube-dl"
- cmd: chmod +x scripts/bash/prepare_dataset.sh
- cmd: bash scripts/bash/prepare_dataset.sh

test_script:
- cmd: python -m pytest -sv

0 comments on commit ef327b6

Please sign in to comment.