gitbeaker/.travis.yml
jdalrymple 6d5a4b92b0
Typescript Support (#183)
* chore: Introduce typescript 
* chore: Remove lodash.pick, use native js instead
* chore: Add tslint and extend Airbnb ruleset
* chore: Remove Babel Dependency, replace build steps with tsc
* chore: change target for modern env from es2017 to es6 (async/await should be transpiled to downlevel js)
* chore(package): Updating packages
* fix: Fix error while throwing an error in RequestHelper (#156)
* feat: Support rejectUnauthorized parameter (#164)
* feat: Adding project archive abilities
* fix(test): Application settings API updated (#177)
* fix: Removing token requirement (#176)
* chore: Removing npmignore and using files instead.
* fix: obey rate limits for all request types correctly (#170)
* fix: Camel casing broke the body params
2018-09-05 11:22:28 -04:00

41 lines
1016 B
YAML

language: node_js
stages:
- lint and build
- test
- release
notifications:
email: false
jobs:
include:
- stage: lint and build
node_js: 10.0.0
script:
- npm run lint
- npm run build
- stage: test
node_js: 10.0.0
before_script:
## Spin up container
- cd test/docker/
- docker-compose -f docker-compose.test.yml up -d
## Test for liveness
# - docker exec -it gitlab bash -lc 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost/-/readiness)" != "200" ]]; do sleep 5; done'
- sleep 240
- export PERSONAL_ACCESS_TOKEN=$(docker exec -it gitlab bash -lc 'printf "%q" "${PERSONAL_ACCESS_TOKEN}"')
- export GITLAB_URL=$(docker exec -it gitlab bash -lc 'printf "%q" "${GITLAB_URL}"')
- echo $GITLAB_URL
- echo $PERSONAL_ACCESS_TOKEN
script:
- npm run test
- stage: release
node_js: 10.0.0
script:
- npm run semantic-release