diff --git a/.travis.yml b/.travis.yml index a95a682..913f394 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,7 @@ language: julia +os: + - linux + - osx julia: - 0.7 - 1.0 @@ -10,9 +13,9 @@ matrix: notifications: email: false # uncomment the following lines to override the default test script -#script: +script: - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.develop("RandomQuantum"); Pkg.develop("QuantumInfo"); Pkg.build("QuantumTomography"); Pkg.test("QuantumTomography"; coverage=true)' + - julia --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(url=pwd())); Pkg.develop("RandomQuantum"); Pkg.develop("QuantumInfo"); Pkg.build("QuantumTomography"); Pkg.test("QuantumTomography"; coverage=true)' # necessary to run on new container-based infrastructure sudo: false