update travis config #144
Merged
update travis config #144
Travis CI / Travis CI - Pull Request
succeeded
Jul 8, 2024 in 4m 56s
Build Passed
The build passed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #144 update travis config.
Any changes that have been made to the master branch before the build ran are also included.
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 | Go |
Operating System | Linux (Jammy) |
Go Version | 1.22.2 |
Build Configuration
{
"language": "go",
"os": [
"linux"
],
"dist": "jammy",
"go": [
"1.22.2"
],
"services": [
"docker"
],
"env": [
"global={:MONGODB=>\"6.0.14\"}={:MONGOSH=>\"2.2.3\"}"
],
"cache": {
"directories": [
"$HOME/.cache/go-build"
]
},
"before_install": [
"sudo apt-get update",
"sudo apt-get install --allow-downgrades -y docker-buildx-plugin mongodb-org=${MONGODB} mongodb-org-database=${MONGODB} mongodb-org-server=${MONGODB} mongodb-mongosh=${MONGOSH} mongodb-org-mongos=${MONGODB} mongodb-org-tools",
"mkdir /tmp/data",
"/usr/bin/mongod --dbpath /tmp/data --bind_ip 127.0.0.1 --replSet rs0 --logpath ${PWD}/mongod.log &> /dev/null &",
"until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done",
"/usr/bin/mongosh --eval 'rs.initiate(); while (rs.status().startupStatus || (rs.status().hasOwnProperty(\"myState\") && rs.status().myState != 1)) { printjson( rs.status() ); sleep(1000); }; printjson( rs.status() );'"
],
"addons": {
"apt": {
"sources": [
{
"sourceline": "deb https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse",
"key_url": "https://pgp.mongodb.com/server-6.0.asc"
}
]
}
},
"script": [
"./build.sh",
"make test",
"./artifact.sh"
]
}
Loading