Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
183 lines (177 sloc) 7.2 KB
language: perl
perl:
- "5.24"
os: linux
addons:
apt:
packages:
- maven
- diffstat
cache:
directories:
- /home/travis/.java/
before_install:
- JDK_OS="$TRAVIS_OS_NAME"
- JDK_ARCH="x64"
- JDK_VERSION="8u192"
- JDK_FILE="jdk-$JDK_VERSION-$JDK_OS-$JDK_ARCH.tar.gz"
- JDK_URL="https://defects4j.org/downloads/$JDK_FILE"
- if [ ! -f "$JDK_FILE" ]; then mkdir -p /home/travis/.java && (timeout 400 curl -O -s -S -L --retry 3 "$JDK_URL" || curl -O -L --retry 3 "$JDK_URL") && tar -xzf "$JDK_FILE" -C /home/travis/.java; fi
install:
- export JAVA_HOME=/home/travis/.java/jdk1.8.0_192
- export PATH=$JAVA_HOME/bin:$PATH
- java -version
- (echo y;echo o conf prerequisites_policy follow;echo o conf commit) | cpan
- timeout 300 cpan install Carton || cpan install Carton
- timeout 300 carton install || cpan carton install
- ./init.sh
- cd framework/test
jobs:
include:
# Test the tutorial and basic commands
- script: carton exec ./test_tutorial.sh
name: test_tutorial.sh
- script: carton exec ./test_mutation_analysis.sh
name: test_mutation_analysis.sh
- script: carton exec ./test_gen_tests.sh -p Lang -b 6
name: test_gen_tests.sh
- script: carton exec ./test_fix_test_suite.sh
name: test_fix_test_suite.sh
- script: carton exec ./test_export_command.sh -p Chart -p Cli -p Closure
name: "test export 1"
- script: carton exec ./test_export_command.sh -p Codec -p Collections -p Compress -p Csv -p JacksonDatabind
name: "test export 2"
- script: carton exec ./test_export_command.sh -p Gson -p JacksonCore -p JacksonXml -p Jsoup -p JxPath
name: "test export 3"
- script: carton exec ./test_export_command.sh -p Lang -p Math -p Mockito -p Time
name: "test export 4"
- script: carton exec ./test_bug_mining.sh
name: test_bug_mining.sh
# Verify that all bugs are reproducible (run multiple jobs for projects that
# take a long time to finish).
- stage: verify-bugs
## Chart
script: carton exec ./test_verify_bugs.sh -p Chart
name: "Chart"
## Cli
- script: carton exec ./test_verify_bugs.sh -p Cli
name: "Cli"
## Closure
- script: carton exec ./test_verify_bugs.sh -p Closure -b1..10
name: "Closure 1-10"
- script: carton exec ./test_verify_bugs.sh -p Closure -b11..15
name: "Closure 11-15"
- script: carton exec ./test_verify_bugs.sh -p Closure -b16..20
name: "Closure 16-20"
- script: carton exec ./test_verify_bugs.sh -p Closure -b21..30
name: "Closure 21-30"
- script: carton exec ./test_verify_bugs.sh -p Closure -b31..40
name: "Closure 31-40"
- script: carton exec ./test_verify_bugs.sh -p Closure -b41..50
name: "Closure 41-50"
- script: carton exec ./test_verify_bugs.sh -p Closure -b51..60
name: "Closure 51-60"
- script: carton exec ./test_verify_bugs.sh -p Closure -b61..70
name: "Closure 61-70"
- script: carton exec ./test_verify_bugs.sh -p Closure -b71..80
name: "Closure 71-80"
- script: carton exec ./test_verify_bugs.sh -p Closure -b81..90
name: "Closure 81-90"
- script: carton exec ./test_verify_bugs.sh -p Closure -b91..100
name: "Closure 91-100"
- script: carton exec ./test_verify_bugs.sh -p Closure -b101..111
name: "Closure 101-111"
- script: carton exec ./test_verify_bugs.sh -p Closure -b112..122
name: "Closure 112-122"
- script: carton exec ./test_verify_bugs.sh -p Closure -b123..133
name: "Closure 123-133"
- script: carton exec ./test_verify_bugs.sh -p Closure -b134..142
name: "Closure 134-142"
- script: carton exec ./test_verify_bugs.sh -p Closure -b143..151
name: "Closure 143-151"
- script: carton exec ./test_verify_bugs.sh -p Closure -b152..160
name: "Closure 152-160"
- script: carton exec ./test_verify_bugs.sh -p Closure -b161..169
name: "Closure 161-169"
- script: carton exec ./test_verify_bugs.sh -p Closure -b170..176
name: "Closure 170-176"
## Codec
- script: carton exec ./test_verify_bugs.sh -p Codec -b1..18
name: "Codec"
## Collections
- script: carton exec ./test_verify_bugs.sh -p Collections -b25..28
name: "Collections"
## Compress
- script: carton exec ./test_verify_bugs.sh -p Compress
name: "Compress"
## Csv
- script: carton exec ./test_verify_bugs.sh -p Csv -b1..16
name: "Csv"
## Gson
- script: carton exec ./test_verify_bugs.sh -p Gson -b1..18
name: "Gson"
## JacksonCore
- script: carton exec ./test_verify_bugs.sh -p JacksonCore
name: "JacksonCore"
## JacksonDatabind
- script: carton exec ./test_verify_bugs.sh -p JacksonDatabind -b1..14
name: "JacksonDatabind 1-14"
- script: carton exec ./test_verify_bugs.sh -p JacksonDatabind -b15..28
name: "JacksonDatabind 15-28"
- script: carton exec ./test_verify_bugs.sh -p JacksonDatabind -b29..43
name: "JacksonDatabind 29-43"
- script: carton exec ./test_verify_bugs.sh -p JacksonDatabind -b44..57
name: "JacksonDatabind 44-57"
- script: carton exec ./test_verify_bugs.sh -p JacksonDatabind -b58..67
name: "JacksonDatabind 58-67"
- script: carton exec ./test_verify_bugs.sh -p JacksonDatabind -b68..76
name: "JacksonDatabind 68-76"
- script: carton exec ./test_verify_bugs.sh -p JacksonDatabind -b77..86
name: "JacksonDatabind 77-86"
- script: carton exec ./test_verify_bugs.sh -p JacksonDatabind -b87..96
name: "JacksonDatabind 87-96"
- script: carton exec ./test_verify_bugs.sh -p JacksonDatabind -b97..104
name: "JacksonDatabind 97-104"
- script: carton exec ./test_verify_bugs.sh -p JacksonDatabind -b105..112
name: "JacksonDatabind 105-112"
## JacksonXml
- script: carton exec ./test_verify_bugs.sh -p JacksonXml -b1..6
name: "JacksonXml"
## Jsoup
- script: carton exec ./test_verify_bugs.sh -p Jsoup -b1..50
name: "Jsoup 1-50"
- script: carton exec ./test_verify_bugs.sh -p Jsoup -b51..93
name: "Jsoup 51-93"
## JxPath
- script: carton exec ./test_verify_bugs.sh -p JxPath
name: "JxPath"
## Lang
- script: carton exec ./test_verify_bugs.sh -p Lang
name: "Lang"
## Math
- script: carton exec ./test_verify_bugs.sh -p Math -b1..18
name: "Math 1-18"
- script: carton exec ./test_verify_bugs.sh -p Math -b19..36
name: "Math 19-36"
- script: carton exec ./test_verify_bugs.sh -p Math -b20..54
name: "Math 20-54"
- script: carton exec ./test_verify_bugs.sh -p Math -b55..80
name: "Math 55-80"
- script: carton exec ./test_verify_bugs.sh -p Math -b81..106
name: "Math 81-106"
## Mockito
- script: carton exec ./test_verify_bugs.sh -p Mockito -b1..5
name: "Mockito 1-5"
- script: carton exec ./test_verify_bugs.sh -p Mockito -b6..10
name: "Mockito 6-10"
- script: carton exec ./test_verify_bugs.sh -p Mockito -b11..15
name: "Mockito 11-15"
- script: carton exec ./test_verify_bugs.sh -p Mockito -b16..20
name: "Mockito 16-20"
- script: carton exec ./test_verify_bugs.sh -p Mockito -b21..26
name: "Mockito 21-26"
- script: carton exec ./test_verify_bugs.sh -p Mockito -b27..38
name: "Mockito 27-38"
## Time
- script: carton exec ./test_verify_bugs.sh -p Time
name: "Time"
You can’t perform that action at this time.