Add Workflow #264
Open
Add Workflow #264
Travis CI / Travis CI - Branch
failed
May 3, 2024 in 5m 14s
Build Failed
The build failed, just like the previous build.
Details
This is a normal build for the add_workflow 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) |
JDK Version | openjdk17 |
Build Configuration
{
"language": "java",
"os": [
"linux"
],
"dist": "jammy",
"jdk": [
"openjdk17"
],
"before_install": [
"wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/119.0.6045.105/linux64/chromedriver-linux64.zip",
"unzip chromedriver-linux64.zip",
"sudo cp chromedriver-linux64/chromedriver /tmp",
"ls -al /tmp",
"pip3 install selenium==4.14",
"pip3 install requests",
"pip3 show selenium",
"openssl aes-256-cbc -K $encrypted_fb8a77c74dbd_key -iv $encrypted_fb8a77c74dbd_iv -in codesigning.asc.enc -out ./codesigning.asc -d",
"sudo apt-get update",
"export GPG_TTY=$(tty)",
"gpg2 --batch --fast-import codesigning.asc",
"nvm install --lts",
"git clone --depth=1 https://github.com/ant-media/ant-media-server-parent.git;",
"cd ant-media-server-parent;",
"mvn clean install -DskipTests -Dmaven.javadoc.skip=true -Dgpg.skip=true --quiet;",
"cd ..;"
],
"cache": {
"directories": [
"react/node_modules",
"$HOME/.m2/repository"
]
},
"script": [
"cd react",
"npm install",
"npm run build",
"cd ..",
"cp -a react/build/. webapp/src/main/webapp",
"cd webapp",
"mvn clean install -DskipTests -Dgpg.skip=true --quiet",
"cd ..",
"cd react",
"npm install codecov --save-dev",
"npm test",
"npm run upload-coverage",
"cd ../test",
"python3 test_main.py $SERVER_URL $AMS_USER_NAME $AMS_PASSWORD ../webapp/target/*.war",
"cd ../webapp"
],
"deploy": [
{
"provider": "script",
"script": "mvn deploy -DskipTests --quiet --settings mvn-settings.xml",
"skip_cleanup": true,
"on": {
"tags": false,
"branch": [
"main"
]
}
}
]
}
Loading