Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconnect faster when connection is failed/closed #519

Merged
merged 3 commits into from
Nov 25, 2024

Fix test case

e353d95
Select commit
Loading
Failed to load commit list.
Merged

Reconnect faster when connection is failed/closed #519

Fix test case
e353d95
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Nov 24, 2024 in 6m 40s

Build Passed

The build passed, just like the previous build.

Details

This is a normal build for the reconnect-faster branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Java
Operating System Linux (Jammy)
Node.js Version 16.20.2
JDK Version openjdk17
Build Configuration
{
  "language": "java",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "jdk": [
    "openjdk17"
  ],
  "node_js": [
    "16.20.2"
  ],
  "sudo": true,
  "before_install": [
    "openssl aes-256-cbc -K $encrypted_bbedb246563f_key -iv $encrypted_bbedb246563f_iv -in codesigning.asc.enc -out codesigning.asc -d",
    "sudo apt-get update",
    "export GPG_TTY=$(tty)",
    "gpg2 --batch --fast-import codesigning.asc",
    "(if [ $(git ls-remote https://github.com/ant-media/ant-media-server-parent.git $TRAVIS_BRANCH  | wc -l) == \"1\" ]; then echo \" $TRAVIS_BRANCH branch found\"; git clone --depth=1 -b $TRAVIS_BRANCH https://github.com/ant-media/ant-media-server-parent.git; else echo \"branch not found\"; git clone --depth=1 https://github.com/ant-media/ant-media-server-parent.git; fi)",
    "cd ant-media-server-parent",
    "mvn clean install -DskipTests -Dmaven.javadoc.skip=true -Dgpg.skip=true --quiet",
    "cd ..",
    "(if [ $(git ls-remote https://github.com/ant-media/Ant-Media-Server.git $TRAVIS_BRANCH  | wc -l) == \"1\" ]; then echo \"$TRAVIS_BRANCH branch found in Ant-Media-Server\"; git clone --depth=1 -b $TRAVIS_BRANCH https://github.com/ant-media/Ant-Media-Server.git; else echo \"$TRAVIS_BRANCH branch not found checkout master\"; git clone --depth=1 https://github.com/ant-media/Ant-Media-Server.git; fi)",
    "cd Ant-Media-Server",
    "mvn clean install -DskipTests -Dmaven.javadoc.skip=true -Dgpg.skip=true --quiet",
    "cd ..",
    "npm install",
    "npm run compile",
    "cd embedded-player",
    "npm install",
    "npm run compile",
    "npm run deploy",
    "cd .."
  ],
  "install": [
    "mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -B -V --quiet"
  ],
  "script": [
],
"cache": {
"directories": [
"$HOME/.m2/repository"
]
},
"deploy": [
{
"provider": "script",
"script": "mvn deploy -DskipTests --quiet --settings mvn-settings.xml",
"skip_cleanup": true,
"on": {
"tags": false,
"all_branches": true,
"condition": [
"$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)  = "SNAPSHOT""
]
}
},
{
"provider": "script",
"script": "mvn deploy -DskipTests --quiet --settings mvn-settings.xml",
"skip_cleanup": true,
"on": {
"tags": true,
"condition": [
"$TRAVIS_TAG =~ ^ams-v"
]
}
}
]
}