Skip to content

Commit

Permalink
build: get rid of yarn and duplicate builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sushantdhiman committed Mar 26, 2019
1 parent 2ef16b5 commit fa0a127
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .travis.yml
Expand Up @@ -10,11 +10,10 @@ branches:
except:
- /^v\d+\.\d+\.\d+$/

cache: yarn
cache: npm

install:
- npm install -g yarn
- yarn
- npm install
- |-
if [ "$TSC" = true ]; then npm run test-typings; fi
- |-
Expand Down Expand Up @@ -47,7 +46,7 @@ jobs:
include:
- stage: test
node_js: '6'
env: DIALECT=sqlite
env: DIALECT=sqlite TSC=true
- stage: test
node_js: '6'
sudo: required
Expand All @@ -60,17 +59,10 @@ jobs:
node_js: '6'
sudo: required
env: POSTGRES_VER=postgres-10 SEQ_PG_PORT=8991 DIALECT=postgres
- stage: test
node_js: '6'
sudo: required
env: POSTGRES_VER=postgres-95 SEQ_PG_PORT=8990 DIALECT=postgres
- stage: test
node_js: '6'
sudo: required
env: POSTGRES_VER=postgres-95 SEQ_PG_PORT=8990 DIALECT=postgres-native
- stage: test
node_js: '8'
env: DIALECT=sqlite COVERAGE=false TSC=true
- stage: release
node_js: '8'
script:
Expand Down

0 comments on commit fa0a127

Please sign in to comment.