forked from loafle/openapi-generator-original
[TS][Anuglar] Update Travis CI to cover TS Angular 4.3 petstore client (#6844)
* add CI to TS Angular 4.3 * comment out ts cache direcotries
This commit is contained in:
parent
980dd7c6ab
commit
86b266b02f
24
.travis.yml
24
.travis.yml
@ -11,18 +11,18 @@ cache:
|
||||
- $HOME/samples/client/petstore/php/SwaggerClient-php/vendor
|
||||
- $HOME/samples/client/petstore/ruby/venodr/bundle
|
||||
- $HOME/samples/client/petstore/python/.venv/
|
||||
- $HOME/samples/client/petstore/typescript-node/npm/node_modules
|
||||
- $HOME/samples/client/petstore/typescript-node/npm/typings/
|
||||
- $HOME/samples/client/petstore/typescript-fetch/tests/default/node_modules
|
||||
- $HOME/samples/client/petstore/typescript-fetch/tests/default/typings
|
||||
- $HOME/samples/client/petstore/typescript-fetch/builds/default/node_modules
|
||||
- $HOME/samples/client/petstore/typescript-fetch/builds/default/typings
|
||||
- $HOME/samples/client/petstore/typescript-fetch/builds/es6-target/node_modules
|
||||
- $HOME/samples/client/petstore/typescript-fetch/builds/es6-target/typings
|
||||
- $HOME/samples/client/petstore/typescript-fetch/builds/with-npm-version/node_modules
|
||||
- $HOME/samples/client/petstore/typescript-fetch/npm/with-npm-version/typings
|
||||
- $HOME/samples/client/petstore/typescript-angularjs/node_modules
|
||||
- $HOME/samples/client/petstore/typescript-angularjs/typings
|
||||
# - $HOME/samples/client/petstore/typescript-node/npm/node_modules
|
||||
# - $HOME/samples/client/petstore/typescript-node/npm/typings/
|
||||
# - $HOME/samples/client/petstore/typescript-fetch/tests/default/node_modules
|
||||
# - $HOME/samples/client/petstore/typescript-fetch/tests/default/typings
|
||||
# - $HOME/samples/client/petstore/typescript-fetch/builds/default/node_modules
|
||||
# - $HOME/samples/client/petstore/typescript-fetch/builds/default/typings
|
||||
# - $HOME/samples/client/petstore/typescript-fetch/builds/es6-target/node_modules
|
||||
# - $HOME/samples/client/petstore/typescript-fetch/builds/es6-target/typings
|
||||
# - $HOME/samples/client/petstore/typescript-fetch/builds/with-npm-version/node_modules
|
||||
# - $HOME/samples/client/petstore/typescript-fetch/npm/with-npm-version/typings
|
||||
# - $HOME/samples/client/petstore/typescript-angularjs/node_modules
|
||||
# - $HOME/samples/client/petstore/typescript-angularjs/typings
|
||||
- $HOME/.cocoapods/repos/master
|
||||
timeout: 1000
|
||||
# note: docker is not yet supported in iOS build
|
||||
|
1
pom.xml
1
pom.xml
@ -860,6 +860,7 @@
|
||||
<module>samples/client/petstore/typescript-jquery/npm</module>-->
|
||||
<module>samples/client/petstore/typescript-angular-v2/npm</module>
|
||||
<module>samples/client/petstore/typescript-angular-v4/npm</module>
|
||||
<module>samples/client/petstore/typescript-angular-v4.3/npm</module>
|
||||
<!-- comment out due to https://github.com/swagger-api/swagger-codegen/issues/6658
|
||||
<module>samples/client/petstore/swift3/default/SwaggerClientTests</module>
|
||||
<module>samples/client/petstore/swift3/promisekit/SwaggerClientTests</module>
|
||||
|
73
samples/client/petstore/typescript-angular-v4.3/npm/package-lock.json
generated
Normal file
73
samples/client/petstore/typescript-angular-v4.3/npm/package-lock.json
generated
Normal file
@ -0,0 +1,73 @@
|
||||
{
|
||||
"name": "@swagger/angular2-typescript-petstore",
|
||||
"version": "0.0.1",
|
||||
"lockfileVersion": 1,
|
||||
"dependencies": {
|
||||
"@angular/common": {
|
||||
"version": "4.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@angular/common/-/common-4.4.6.tgz",
|
||||
"integrity": "sha1-S4FCByTggooOg5uVpV6xp+g5GPI=",
|
||||
"dev": true
|
||||
},
|
||||
"@angular/compiler": {
|
||||
"version": "4.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-4.4.6.tgz",
|
||||
"integrity": "sha1-LuH68lt1fh0SiXkHS+f65SmzvCA=",
|
||||
"dev": true
|
||||
},
|
||||
"@angular/core": {
|
||||
"version": "4.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@angular/core/-/core-4.4.6.tgz",
|
||||
"integrity": "sha1-EwMf0Q3P5DiHVBmzjyESCVi8I1Q=",
|
||||
"dev": true
|
||||
},
|
||||
"@angular/http": {
|
||||
"version": "4.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@angular/http/-/http-4.4.6.tgz",
|
||||
"integrity": "sha1-CvaAxnEL3AJtlA4iXP0PalwAXQw=",
|
||||
"dev": true
|
||||
},
|
||||
"@angular/platform-browser": {
|
||||
"version": "4.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-4.4.6.tgz",
|
||||
"integrity": "sha1-qYOcVH4bZU+h0kqJeAyLpquNzOA=",
|
||||
"dev": true
|
||||
},
|
||||
"reflect-metadata": {
|
||||
"version": "0.1.10",
|
||||
"resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.10.tgz",
|
||||
"integrity": "sha1-tPg3BEFqytiZiMmxVjXUfgO5NEo=",
|
||||
"dev": true
|
||||
},
|
||||
"rxjs": {
|
||||
"version": "5.5.2",
|
||||
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.2.tgz",
|
||||
"integrity": "sha512-oRYoIKWBU3Ic37fLA5VJu31VqQO4bWubRntcHSJ+cwaDQBwdnZ9x4zmhJfm/nFQ2E82/I4loSioHnACamrKGgA==",
|
||||
"dev": true
|
||||
},
|
||||
"symbol-observable": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.4.tgz",
|
||||
"integrity": "sha1-Kb9hXUqnEhvdiYsi1LP5vE4qoD0=",
|
||||
"dev": true
|
||||
},
|
||||
"tslib": {
|
||||
"version": "1.8.0",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.8.0.tgz",
|
||||
"integrity": "sha512-ymKWWZJST0/CkgduC2qkzjMOWr4bouhuURNXCn/inEX0L57BnRG6FhX76o7FOnsjHazCjfU2LKeSrlS2sIKQJg==",
|
||||
"dev": true
|
||||
},
|
||||
"typescript": {
|
||||
"version": "2.5.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.5.3.tgz",
|
||||
"integrity": "sha512-ptLSQs2S4QuS6/OD1eAKG+S5G8QQtrU5RT32JULdZQtM1L3WTi34Wsu48Yndzi8xsObRAB9RPt/KhA9wlpEF6w==",
|
||||
"dev": true
|
||||
},
|
||||
"zone.js": {
|
||||
"version": "0.7.8",
|
||||
"resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.7.8.tgz",
|
||||
"integrity": "sha1-Tz/og01EWX8mOQU6D6Q43zT//e0=",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
}
|
@ -35,6 +35,6 @@
|
||||
"typescript": "^2.1.5"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry":"https://skimdb.npmjs.com/registry"
|
||||
"registry": "https://skimdb.npmjs.com/registry"
|
||||
}
|
||||
}
|
||||
|
60
samples/client/petstore/typescript-angular-v4.3/npm/pom.xml
Normal file
60
samples/client/petstore/typescript-angular-v4.3/npm/pom.xml
Normal file
@ -0,0 +1,60 @@
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.wordnik</groupId>
|
||||
<artifactId>TSAngular43PestoreTest</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<name>TS Angular4.3 Pettore Test</name>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>copy-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.2.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>npm-install</id>
|
||||
<phase>pre-integration-test</phase>
|
||||
<goals>
|
||||
<goal>exec</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<executable>npm</executable>
|
||||
<arguments>
|
||||
<argument>install</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>npm-run-build</id>
|
||||
<phase>integration-test</phase>
|
||||
<goals>
|
||||
<goal>exec</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<executable>npm</executable>
|
||||
<arguments>
|
||||
<argument>run</argument>
|
||||
<argument>build</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
Loading…
x
Reference in New Issue
Block a user