Skip to content

Commit

Permalink
[TS][Anuglar] Update Travis CI to cover TS Angular 4.3 petstore client (
Browse files Browse the repository at this point in the history
swagger-api#6844)

* add CI to TS Angular 4.3

* comment out ts cache direcotries
  • Loading branch information
wing328 authored Nov 2, 2017
1 parent 980dd7c commit 86b266b
Show file tree
Hide file tree
Showing 5 changed files with 147 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"typescript": "^2.1.5"
},
"publishConfig": {
"registry":"https://skimdb.npmjs.com/registry"
"registry": "https://skimdb.npmjs.com/registry"
}
}
60 changes: 60 additions & 0 deletions samples/client/petstore/typescript-angular-v4.3/npm/pom.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 86b266b

Please sign in to comment.