diff --git a/.travis.yml b/.travis.yml index ede81da6..79dd913b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ cache: directories: - node_modules install: - - npm install -g codecov + - npm install script: - npm run build - npm test -- --coverage && codecov diff --git a/package.json b/package.json index ab017f2f..e22d1462 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "babel-preset-env": "^1.6.1", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", + "codecov": "^3.0.4", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "enzyme-to-json": "^3.3.3",