AMD64
Go: 1.11
Git
sudo: true
language: go
go: "1.11"
services:
- docker
before_install:
- curl -L -s https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -o $GOPATH/bin/dep
- chmod +x $GOPATH/bin/dep
install: true # don't `go get` a bunch of junk, we'll get it with dep
script:
- dep ensure -vendor-only
- go test
# - bin/docker-build
#deploy:
# provider: script
# script: bin/docker-push
# on:
# repo: travis-ci/macbot
# all_branches: true
notifications:
email: false
ECP-WarpX/WarpX:.travis.yml@ab80643
dist: xenial
language: c++
sudo: true
env:
matrix:
- WARPX_TEST_DIM=3 HAS_QED=FALSE
- WARPX_TEST_DIM=RZ HAS_QED=FALSE
- WARPX_TEST_DIM=2 HAS_QED=FALSE
- HAS_QED=TRUE
before_install:
- sudo apt-get update
- sudo apt-get install -y gcc gfortran g++ openmpi-bin libopenmpi-dev libfftw3-dev libfftw3-mpi-dev
# Install miniconda and python dependencies
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- bash Miniconda3-latest-Linux-x86_64.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
- pip install --upgrade pip && pip install numpy scipy matplotlib mpi4py cython
- pip install git+https://github.com/yt-project/yt.git
script:
- export FFTW_HOME=/usr/
- export OMP_NUM_THREADS=1
# Run the tests on the current commit
- export WARPX_TEST_COMMIT=$TRAVIS_COMMIT
# Run the script that prepares the test environment and runs the tests
- ./run_test.sh
Build Config
{
"go": [
"1.11"
],
"os": [
"linux"
],
"dist": "trusty",
"sudo": true,
"script": [
"dep ensure -vendor-only",
"go test"
],
"install": [
"true"
],
"language": "go",
"services": [
"docker"
],
"notifications": {
"email": {
"enabled": false
}
},
"before_install": [
"curl -L -s https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -o $GOPATH/bin/dep",
"chmod +x $GOPATH/bin/dep"
]
}