Update .travis.yml

This commit is contained in:
Sean Whalen
2018-11-26 08:16:47 -05:00
parent 84f7930e39
commit be27080e4d
+6 -7
View File
@@ -2,6 +2,9 @@ language: python
sudo: true
services:
- elasticsearch
python:
- '3.4'
- '3.5'
@@ -10,18 +13,14 @@ python:
# commands to install dependencies
before_install:
- "sudo apt-get install -y apt-transport-https"
- "wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -"
- 'echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list'
- "sudo apt-get update"
- "sudo apt-get install -y default-jre-headless elasticsearch"
- "sudo systemctl daemon-reload"
- "sudo systemctl enable elasticsearch.service"
- "sudo service elastsearch start"
- "sudo apt-get install -y libemail-outlook-message-perl"
install:
- "pip install -r requirements.txt"
before_script:
- sleep 10
# commands to run samples
script:
- "flake8 *.py parsedmarc/*.py"