Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use ERROR: Encountered errors while bringing up the project. The command "docker-compose up" failed and exited with 1 during .
$ export JAVA_HOME=~/oraclejdk8 $ export PATH="$JAVA_HOME/bin:$PATH" $ ~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL" install-jdk.sh 2019-05-02 Expected feature release number in range of 9 to 13, but got: 8 The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during .
language: java sudo: false branches: only: - develop - /^release\/v.*$/ - /^hotfix\/v.*$/ cache: directories: - $HOME/.m2 jdk: - oraclejdk8
hi, i'm attempting to expose an environment variable during a node(js) script and then check it in a subsequent script step
here's my config
language: node_js branches: only: - gh-pages - /.*/ node_js: - '8' script: - node generateData.js - if [ "$TRAVIS_COMMIT_BUILD" = "true" ]; then chmod +x .travis/push.sh ; else echo "do build? $TRAVIS_COMMIT_BUILD" ; fi - if [ "$TRAVIS_COMMIT_BUILD" = "true" ]; then ./.travis/push.sh ; fi
so, in the
node generateData.js line, i'm calling
process.env.COMMIT_BUILD = "true", but the debug statement i added (
echo "do build? $TRAVIS_COMMIT_BUILD") always comes up empty
anyone have an idea how to get this exposed, or would it be possible to set an env var from the exit code of the node script?
Deploying application /Users/travis/.rvm/gems/ruby-2.4.3/gems/dpl-pages-1.10.11/lib/dpl/provider/pages.rb:141:in `mkdir': File exists @ dir_s_mkdir - /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/d20190622-3759-1lk0umr/work (Errno::EEXIST) from /Users/travis/.rvm/gems/ruby-2.4.3/gems/dpl-pages-1.10.11/lib/dpl/provider/pages.rb:141:in `github_pull_or_init' from /Users/travis/.rvm/gems/ruby-2.4.3/gems/dpl-pages-1.10.11/lib/dpl/provider/pages.rb:195:in `block in push_app' from /Users/travis/.rvm/rubies/ruby-2.4.3/lib/ruby/2.4.0/tmpdir.rb:89:in `mktmpdir' from /Users/travis/.rvm/gems/ruby-2.4.3/gems/dpl-pages-1.10.11/lib/dpl/provider/pages.rb:190:in `push_app' from /Users/travis/.rvm/gems/ruby-2.4.3/gems/dpl-1.10.11/lib/dpl/provider.rb:199:in `block in deploy' from /Users/travis/.rvm/gems/ruby-2.4.3/gems/dpl-1.10.11/lib/dpl/cli.rb:41:in `fold' from /Users/travis/.rvm/gems/ruby-2.4.3/gems/dpl-1.10.11/lib/dpl/provider.rb:199:in `deploy' from /Users/travis/.rvm/gems/ruby-2.4.3/gems/dpl-1.10.11/lib/dpl/cli.rb:32:in `run' from /Users/travis/.rvm/gems/ruby-2.4.3/gems/dpl-1.10.11/lib/dpl/cli.rb:7:in `run' from /Users/travis/.rvm/gems/ruby-2.4.3/gems/dpl-1.10.11/bin/dpl:5:in `<top (required)>' from /Users/travis/.rvm/gems/ruby-2.4.3/bin/dpl:23:in `load' from /Users/travis/.rvm/gems/ruby-2.4.3/bin/dpl:23:in `<main>' failed to deploy
Setting up mono-jay (22.214.171.124-0xamarin2+ubuntu1604b1) ... Setting up mono-csharp-shell (126.96.36.199-0xamarin2+ubuntu1604b1) ... Setting up monodoc-base (188.8.131.52-0xamarin2+ubuntu1604b1) ... Setting up referenceassemblies-pcl (2014.04.14-1xamarin5+ubuntu1604b1) ... Setting up mono-roslyn (184.108.40.206-0xamarin2+ubuntu1604b1) ... Mono precompiling /usr/lib/mono/4.5/csc.exe for amd64 (trying with LLVM, this might take a few minutes)... Mono precompiling /usr/lib/mono/4.5/vbc.exe for amd64 (trying with LLVM, this might take a few minutes)... Mono precompiling /usr/lib/mono/4.5/VBCSCompiler.exe for amd64 (trying with LLVM, this might take a few minutes)... Mono precompiling /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll for amd64 (trying with LLVM, this might take a few minutes)...
I also now see the following :
C# support for Travis-CI is community maintained. Please open any issues at https://travis-ci.community/c/languages/37-category and cc @joshua-anderson @akoeplinger @nterry
Is it possible the C# toolchain has some regression causing issues?
I Found this reply by @joshua-anderson https://travis-ci.community/t/net-core-sdk-installed-on-every-build/2836/3
Travis-CI spins up a fresh virtual machine on every build, so we have to re-install .Net Core every time.
Short of pre-installing C# on the virtual machine image, which isn’t possible right now (Travis-CI tries to minimize the amount of software preinstalled on the image), I don’t think there’s much we can do.
Would anyone be able to explain to me why some of my builds take 6 minutes on Travis CI and others time out at 50 minutes? Is it just "noisy neighbors"?
I read https://docs.travis-ci.com/user/common-build-problems/#timeouts-installing-dependencies but the fact the timeout occurs at 50 minutes is just strange to me.
https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received discusses using travis_wait, but what is frustrating for me is it is not clear WHY the build timed out.
Separately, the 50 minute thing is mentioned as a "common problem" here: https://docs.travis-ci.com/user/customizing-the-build#build-timeouts but it's not mentioned as a common build problem in https://docs.travis-ci.com/user/common-build-problems/
on.branch, but that doesn't seem like it would be necessary here. https://travis-ci.org/RustPython/RustPython/jobs/564569924
I'm looking for a way to reduce build resources:
When testing a rails gem against pg, sqlite, and mysql, people typically setup an env switch:
env: - DB=sqlite - DB=mysql - DB=postgresql services: - mysql - postgresql
Is there a way to limit a service to an environment?
e.g.: only run mysql when
DB=mysql and only run postgres when
dist: trusty sudo: false language: node_js node_js: - '8' cache: directories: - "./my-app/node_modules" install: - cd my-app - npm install script: - npm run lint - ng build --prod --output-path ../nginx/www - cd nginx deploy: provider: gae keyfile: "../client-secret.json" project: "my-app" config: "app.yml" on: branch: master
Docker is exiting here because it can't find
ADD www /usr/share/nginx/www/
To give some more insights :
Below is the output given from commands run in
$ cd nginx The command "cd nginx" exited with 0. 0.01s$ ls app.yml Dockerfile nginx.conf www The command "ls" exited with 0.
It would seem that www folder exist.
Dockerfile, I'm copying current build context
COPY . /tmp/build/ RUN ls /tmp/build/
The problem is that current context doesn't include
Step 6/9 : COPY . /tmp/build/ Step 7/9 : RUN ls /tmp/build/ Dockerfile app.yml nginx.conf source-context.json
deploy: skip_cleanup: true
language: java jdk: - openjdk11 - openjdk-ea matrix: allow_failures: - jdk: openjdk-ea before_script: - chmod +x gradlew script: - ./gradlew check --info after_success: bash <(curl -s https://codecov.io/bash) -cF server