v0.1.5
[couchdb-thrift-protocol.git] / .travis.yml
index a6f64189f7843451620d944becb78d905ef6d9b3..d54e000e18847f4e3d4f6303eb70f595954c6b09 100644 (file)
@@ -1,22 +1,23 @@
 language: erlang
 
-sudo: false
 os: linux
 otp_release:
+  - 21.0
   - 20.0
   - 19.3
   - 18.3
 
-script: rebar3 eunit
 install:
-  - wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
-  - pip install codecov
+  - sudo pip install codecov
 script:
-  - ./rebar3 compile
-  - ./rebar3 xref
-  - ./rebar3 eunit
-  - ./rebar3 dialyzer
-  - ./rebar3 edoc
+  - rebar3 compile
+  - rebar3 xref
+  - rebar3 eunit
+  - rebar3 dialyzer
+  - rebar3 edoc
+  - rebar3 cover
+  - rebar3 as test covertool generate
+  - cp _build/test/covertool/thrift_protocol.covertool.xml ./cobertura.xml
 
 after_success:
   - codecov