Skip to content

Commit

Permalink
Adding travis
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhmarpadge committed Sep 20, 2017
1 parent 0be8ce3 commit f74a3ab
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
before_script:
- pip install --upgrade google-api-python-client

script: python -m pytest -q test_sysexit.py
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Basic Overview

[![Build Status](https://travis-ci.org/saurabhmarpadge/Mail-Service-Testing-Tool.svg?branch=master)](https://travis-ci.org/saurabhmarpadge/Mail-Service-Testing-Tool)

Testing tool to send mails simultaneously from different Mailing Services such as Outlook, Gmail and Yahoo. Time interval and number of times the mails should be sent can be configured.

## Install
Expand Down
Binary file added main.pyc
Binary file not shown.
1 change: 0 additions & 1 deletion requirement.txt → requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ oauth2client==4.1.2
pyasn1==0.3.5
pyasn1-modules==0.1.4
pyOutlook==4.1.1
pypiwin32==219
python-dateutil==2.6.1
requests==2.18.4
rsa==3.4.2
Expand Down
7 changes: 7 additions & 0 deletions test_sysexit.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import pytest
def f():
raise SystemExit(1)

def test_mytest():
with pytest.raises(SystemExit):
f()

0 comments on commit f74a3ab

Please sign in to comment.