diff options
author | Vincent Ambo <mail@tazj.in> | 2019-02-27T13·30+0100 |
---|---|---|
committer | Vincent Ambo <github@tazj.in> | 2019-02-27T13·39+0100 |
commit | 951bc7ae8572452537cf6e0680c23e8b3b1afd52 (patch) | |
tree | 8365d55687275cebfafd06330fb6a60939ba7f64 /.travis.yml | |
parent | 67bfba446d42e047796c79046920caa5cdcd90f0 (diff) |
refactor(tests): Use local httpbin instance in tests
Instead of relying on the external httpbin instance which is occasionally wonky, use Docker to spin up a local instance in Travis CI when testing. This fixes #1.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 5b0e032f1844..495c58250d05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,8 @@ language: rust cache: cargo + +# Configure local httpbin instance: +services: + - docker +before_install: + - docker run -d -p 4662:80 kennethreitz/httpbin |