Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): enable daily builds on latest node and compiler and enable codecov #820

Merged
merged 12 commits into from Dec 11, 2019
Merged
2 changes: 1 addition & 1 deletion .env
@@ -1,2 +1,2 @@
TAG=v5.1.0
NODE_TAG=v5.1.0
COMPILER_TAG=v4.1.0
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -11,3 +11,6 @@ node_modules
/pnpm-debug.log
.vscode/
debug/
/coverage
coverage.*
.nyc_output/
16 changes: 16 additions & 0 deletions .travis.yml
Expand Up @@ -32,6 +32,7 @@ env:
- TEST_WS_URL=ws://localhost:3014/channel
- TEST_NETWORK_ID=ae_devnet
- COMPILER_URL=http://localhost:3080
- FORCE_COMPATIBILITY=false

before_install:
- docker-compose up -d node compiler
Expand All @@ -42,14 +43,29 @@ install:
jobs:
include:
- stage: Tests
if: type != "cron"
name: Test AENS
script:
- npm run test-aens
- npm run report-coverage
- stage: Tests
if: type != "cron"
name: Test Channel
script:
- npm run test-channel
- npm run report-coverage
- stage: Tests
if: type != "cron"
name: Test Contract, Node, Oracle, Account and else
script:
- npm run test-else
- npm run report-coverage
- stage: Tests
if: type = "cron"
env:
- NODE_TAG=master
- COMPILER_TAG=latest
- FORCE_COMPATIBILITY=true
script:
- npm run test
- npm run report-coverage
12 changes: 0 additions & 12 deletions Dockerfile.ci

This file was deleted.

2 changes: 1 addition & 1 deletion docker-compose.yml
@@ -1,7 +1,7 @@
version: '3'
services:
node:
image: aeternity/aeternity:${TAG}
image: aeternity/aeternity:${NODE_TAG}
hostname: node
ports: ["3013:3013", "3113:3113", "3014:3014", "3114:3114"]
environment:
Expand Down