Fix Shippable CI (#1799)

* comment out apt-get update

* test php slim in travis

* comment out php verison check
This commit is contained in:
William Cheng 2019-01-03 16:04:35 +08:00 committed by GitHub
parent 8fd474d4a7
commit 92db181d97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -1031,6 +1031,7 @@
<!--<module>samples/client/petstore/perl</module>--> <!--<module>samples/client/petstore/perl</module>-->
<module>samples/client/petstore/php/OpenAPIClient-php</module> <module>samples/client/petstore/php/OpenAPIClient-php</module>
<module>samples/openapi3/client/petstore/php/OpenAPIClient-php</module> <module>samples/openapi3/client/petstore/php/OpenAPIClient-php</module>
<module>samples/server/petstore/php-slim</module>
<module>samples/client/petstore/javascript</module> <module>samples/client/petstore/javascript</module>
<module>samples/client/petstore/javascript-es6</module> <module>samples/client/petstore/javascript-es6</module>
<module>samples/client/petstore/javascript-promise</module> <module>samples/client/petstore/javascript-promise</module>
@ -1231,7 +1232,6 @@
<module>samples/server/petstore/spring-mvc</module> <module>samples/server/petstore/spring-mvc</module>
<module>samples/server/petstore/spring-mvc-j8-async</module> <module>samples/server/petstore/spring-mvc-j8-async</module>
<module>samples/server/petstore/spring-mvc-j8-localdatetime</module> <module>samples/server/petstore/spring-mvc-j8-localdatetime</module>
<module>samples/server/petstore/php-slim</module>
</modules> </modules>
</profile> </profile>
<profile> <profile>

View File

@ -15,13 +15,13 @@ build:
# ensure all modifications created by 'mature' generators are in the git repo # ensure all modifications created by 'mature' generators are in the git repo
# below move to CircleCI ./bin/utils/ensure-up-to-date # below move to CircleCI ./bin/utils/ensure-up-to-date
# prepare environment for tests # prepare environment for tests
- sudo apt-get update -qq #- sudo apt-get update -qq
# install stack # install stack
- curl -sSL https://get.haskellstack.org/ | sh - curl -sSL https://get.haskellstack.org/ | sh
- stack upgrade - stack upgrade
- stack --version - stack --version
# install elixir # install elixir
- sudo apt-get install erlang #- sudo apt-get install erlang
- wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb - wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb
- sudo apt-get update - sudo apt-get update
- sudo apt-get install elixir - sudo apt-get install elixir
@ -30,9 +30,9 @@ build:
# install rebar3 # install rebar3
- wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 && cp rebar3 /usr/bin - wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 && cp rebar3 /usr/bin
# install php # install php
- apt-get install php #- apt-get install php
# show version # show version
- php -v #- php -v
- rebar3 -v - rebar3 -v
- elixir --version - elixir --version
- mix --version - mix --version