Skip to content

Commit

Permalink
ci(semantic release): restores travis jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dcalvoalonso committed Apr 3, 2019
1 parent 89995ee commit 5adcc1b
Showing 1 changed file with 47 additions and 48 deletions.
95 changes: 47 additions & 48 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,66 +11,65 @@ services:

jobs:
include:
# - stage: test
# name: "Unit Tests: Node 8"
# node_js:
# - 8
- stage: test
name: "Unit Tests: Node 8"
node_js:
- 8

# before_install:
# - docker pull fiware/orion:latest
# - docker run -d --net host -l orion fiware/orion:latest
# - docker pull ansi/mosquitto
# - docker run -d --net host -l mosquitto ansi/mosquitto
# - npm update -q
before_install:
- docker pull fiware/orion:latest
- docker run -d --net host -l orion fiware/orion:latest
- docker pull ansi/mosquitto
- docker run -d --net host -l mosquitto ansi/mosquitto
- npm update -q

# install:
# - npm install
install:
- npm install

# before_script:
# - npm run lint
before_script:
- npm run lint

# after_script:
# - npm run test:coveralls
after_script:
- npm run test:coveralls

# - stage: test
# name: "Unit Tests: Node 10"
# node_js:
# - 10
- stage: test
name: "Unit Tests: Node 10"
node_js:
- 10

# before_install:
# - docker pull fiware/orion:latest
# - docker run -d --net host -l orion fiware/orion:latest
# - docker pull ansi/mosquitto
# - docker run -d --net host -l mosquitto ansi/mosquitto
# - npm update -q
before_install:
- docker pull fiware/orion:latest
- docker run -d --net host -l orion fiware/orion:latest
- docker pull ansi/mosquitto
- docker run -d --net host -l mosquitto ansi/mosquitto
- npm update -q

# install:
# - npm install
install:
- npm install

# before_script:
# - npm run lint
before_script:
- npm run lint

# after_script:
# - npm run test:coveralls
after_script:
- npm run test:coveralls

# - stage: test
# name: "Documentation Tests"
# node_js:
# - 10
- stage: test
name: "Documentation Tests"
node_js:
- 10

# install:
# - npm install
install:
- npm install

# script:
# - npm run lint:md
# - npm run lint:text
script:
- npm run lint:md
- npm run lint:text
- stage: release
node_js: lts/*
script:
- npx semantic-release
# - echo "skipping tests"
# deploy:
# provider: script
# skip_cleanup: true
# script:
# - npx semantic-release
- echo "skipping tests"
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release

0 comments on commit 5adcc1b

Please sign in to comment.