diff --git a/.travis.yml b/.travis.yml index fe8417e9d..d373e72f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,11 @@ install: script: - npm run build:new - - npm run publish \ No newline at end of file + - npm run publish + # install the latest version of "openapi-generator-cli" + - npm install @openapitools/openapi-generator-cli -g + - openapi-generator version + - npm uninstall @openapitools/openapi-generator-cli -g + # install a specific version of "openapi-generator-cli" + - npm install @openapitools/openapi-generator-cli@cli-3.2.1 -g + - openapi-generator version