diff --git a/.appveyor.yml b/.appveyor.yml
index f7bd055..6647f69 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -29,4 +29,6 @@ build_script:
   - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
 test_script:
   - echo "%JL_TEST_SCRIPT%"
-  - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
+  - C:\julia\bin\julia --code-coverage -e "%JL_TEST_SCRIPT%"
+after_test:
+- C:\julia\bin\julia -e "using Pkg; Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(process_folder())"